features/sqlite-sorta-workin #4

Merged
jtom38 merged 5 commits from features/sqlite-sorta-workin into main 2024-03-22 12:26:55 -07:00
Showing only changes of commit d6f2fc3585 - Show all commits

View File

@ -0,0 +1,16 @@
-- +goose Up
-- +goose StatementBegin
SELECT 'up SQL query';
CREATE TABLE USERS (
ID INTEGER PRIMARY KEY AUTOINCREMENT,
Name TEXT NOT NULL,
Hash TEXT NOT NULL,
CreatedAt DATETIME NOT NULL,
LastUpdated DATETIME NOT NULL
)
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
SELECT 'down SQL query';
DROP TABLE IF EXISTS USERS;
-- +goose StatementEnd