wynn/migrations/003_wynn_items.sql

25 lines
549 B
MySQL
Raw Normal View History

2025-03-03 04:39:51 +00:00
-- Write your migrate up statements here
create table wynn.items (
name text not null primary key,
display_name text not null,
type text not null,
hash text not null,
data jsonb not null
);
create schema if not exists meta;
create table meta.hashes (
key text not null primary key,
value text not null
);
---- create above / drop below ----
drop table if exists wynn.items;
drop schema if exists meta cascade;
-- Write your migrate down statements here. If this migration is irreversible
-- Then delete the separator line above.