postgres and such
This commit is contained in:
5
sql/init.sql
Normal file
5
sql/init.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE IF NOT EXISTS migration (
|
||||
id serial primary key not null,
|
||||
name text not null,
|
||||
applied_at timestamp not null default now()
|
||||
);
|
||||
5
sql/migrations/20240617T1630_createtable-todo.sql
Normal file
5
sql/migrations/20240617T1630_createtable-todo.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
CREATE TABLE todo (
|
||||
id UUID PRIMARY KEY,
|
||||
name VARCHAR(255) NOT NULL,
|
||||
done BOOLEAN NOT NULL DEFAULT false
|
||||
);
|
||||
Reference in New Issue
Block a user