chore: init sample folder

This commit is contained in:
Dmitriy Pleshevskiy 2021-02-01 23:49:26 +03:00
parent 0d47938a7e
commit 49f14be548
2 changed files with 10 additions and 0 deletions

4
sample/Migra.toml Normal file
View File

@ -0,0 +1,4 @@
directory = "database"
[database]
connection = "postgres://postgres:123456@localhost:5434/migra"

View File

@ -0,0 +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
);