DarkflameServer/migrations/dlu/14_reward_codes.sql
2024-11-15 01:05:05 -08:00

6 lines
202 B
SQL

CREATE TABLE IF NOT EXISTS accounts_rewardcodes (
account_id INTEGER NOT NULL REFERENCES accounts(id) ON DELETE CASCADE,
rewardcode INTEGER NOT NULL,
PRIMARY KEY (account_id, rewardcode)
);