Artifacts and migrations

Artifacts

Migrations

File

Content

[project]
version = "0.1.0"
title = "my_project"

[database]
db = "postgres" # will be "sqlite" if you're using sqlite

Directory

create table users (
    pk integer primary key auto increment,
    username text unique not null,
    password text not null
);

Directory

Directory

[[migrations]]
script = "schema.sql"
from = "=0.0.0"
to = "0.1.0"
-- [ my_project 0.1.0 ]

-- [ users.sql ]

create table users (
    pk integer primary key auto increment,
    username text unique not null,
    password text not null
);

Migrations from 0.0.0

Generating migrations

Applying migrations