projects-jenz/event_rewards/sql/rewards_table.sql

14 lines
515 B
SQL

CREATE TABLE unloze_event.rewards (
`rowid` int auto_increment NOT NULL,
`steamid` varchar(64) not NULL,
`username` varchar(256) DEFAULT NULL,
`event_map` varchar(512) DEFAULT NULL,
`event_reward_days` int not NULL,
`created_on` datetime DEFAULT current_timestamp(),
`admin_created_reward_steamid` varchar(64) not NULL,
`admin_created_reward_name` varchar(64) not NULL,
`is_processed` bool default false,
`has_no_forum_account_with_associated_steam` bool default null,
PRIMARY KEY (`rowid`)
)