Archived
1
0
Fork 0

style: change case in sample schema

This commit is contained in:
Dmitriy Pleshevskiy 2021-02-22 16:28:14 +03:00
parent 7dc1477f1f
commit 6e602b17cd

View file

@ -1,6 +1,6 @@
create table tags ( CREATE TABLE tags (
id serial primary key, id serial PRIMARY KEY,
name text not null unique check(length(name) > 0), name text NOT NULL UNIQUE CHECK(length(name) > 0),
created_at timestamp not null default current_timestamp created_at timestamp NOT NULL DEFAULT current_timestamp
); );