A website for my game dev stuff that supports chat, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
zedshaw-games/migrations/20250531143519_init.sql

16 lines
423 B

-- +goose Up
-- +goose StatementBegin
PRAGMA foreign_keys = ON;
CREATE TABLE stream_link (
id INTEGER PRIMARY KEY, url TEXT,
stream_id INTEGER,
description TEXT,
FOREIGN KEY(stream_id) REFERENCES stream(id));
CREATE TABLE stream (id INTEGER PRIMARY KEY, title TEXT, description TEXT);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE stream_link;
DROP TABLE stream;
-- +goose StatementEnd