bitque/jirs-server/migrations/2020-03-25-150006_create_projects/up.sql
2020-04-02 16:14:07 +02:00

11 lines
346 B
SQL

DROP TABLE IF EXISTS projects CASCADE;
CREATE TABLE projects (
id serial primary key not null,
name text not null,
url text not null default '',
description text not null default '',
category text not null default 'software',
created_at timestamp not null default now(),
updated_at timestamp not null default now()
);