~starkingdoms/starkingdoms

ref: c407349bf0c3102b6f292742db23f3e5be1aa696 starkingdoms/starkingdoms-api/migrations/2024-04-08-152705_create_table_saves/up.sql -rw-r--r-- 166 bytes
c407349b — ghostly_zsh move variables to a separate list, assign to array subscript works 1 year, 2 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);