~starkingdoms/starkingdoms

ref: 5d800d4baddb81e5d0e6f6a3eacc34377ee819a0 starkingdoms/starkingdoms-api/migrations/2024-04-08-152705_create_table_saves/up.sql -rw-r--r-- 166 bytes
5d800d4b — ghostly_zsh break and continue added, but they dont clean up the stack 1 year, 4 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);