Add migration, status and pending checks to database

This commit is contained in:
Michał Gdula 2024-05-06 17:24:24 +01:00
parent b2933a41c1
commit 66fb03fa0d
9 changed files with 146 additions and 42 deletions

View file

@ -0,0 +1,11 @@
-- +migrate Up
CREATE TABLE IF NOT EXISTS Item (
uuid TEXT NOT NULL PRIMARY KEY,
name TEXT NOT NULL,
price INTEGER NOT NULL,
description TEXT
);
-- +migrate Down
DROP TABLE Item;