DarkflameServer/migrations/dlu/14_reward_codes.sql
2023-11-19 02:28:30 -06:00

6 lines
194 B
SQL

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