diff --git a/sample/database/schema.sql b/sample/database/schema.sql index 33dc301..7bf654d 100644 --- a/sample/database/schema.sql +++ b/sample/database/schema.sql @@ -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 );