mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-05-28 22:33:12 +00:00
Add migration, status and pending checks to database
This commit is contained in:
parent
b2933a41c1
commit
66fb03fa0d
9 changed files with 146 additions and 42 deletions
11
database/migrations/20240506163617-init_tables.sql
Normal file
11
database/migrations/20240506163617-init_tables.sql
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue