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 (
id serial primary key,
name text not null unique check(length(name) > 0),
created_at timestamp not null default current_timestamp
CREATE TABLE tags (
id serial PRIMARY KEY,
name text NOT NULL UNIQUE CHECK(length(name) > 0),
created_at timestamp NOT NULL DEFAULT current_timestamp
);