~starkingdoms/starkingdoms

ref: e796ffb2a4f90f597a0be294d3ba89d4c428d070 starkingdoms/crates/api/migrations/2024-04-08-152705_create_table_saves/up.sql -rw-r--r-- 166 bytes
e796ffb2 — ghostly_zsh assets no longer part of binary, now dynamically loaded 10 months ago
                                                                                
1
2
3
4
5
6
7
8
CREATE TABLE saves
(
    id BIGINT NOT NULL PRIMARY KEY,
    user_id BIGINT NOT NULL,
    pack VARCHAR NOT NULL
);

CREATE INDEX idx_saves_user_id ON saves (user_id);