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
1 changed files with 4 additions and 4 deletions

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
);