blob: daa42d688af2f7c4bb59c5230574d7dc7a089fc4 [file] [log] [blame]
Marc Kupietz5b19e4f2023-03-10 08:30:14 +01001create table `person` (
2 `id` int unsigned not null auto_increment,
3 username varchar(32),
4 first_name varchar(32) not null default '',
5 last_name varchar(32) not null default '',
6 organization varchar(32) not null default '',
7 user_hash varchar(32) not null default '',
8 password varchar(32) not null default '',
9 street varchar(32) not null default '',
10 zip varchar(12) not null default '',
11 city varchar(32) not null default '',
12 country varchar(32) not null default '',
13 email varchar(50) not null default '',
14 phone varchar(32) not null default '',
15 eula_signed boolean not null default false,
16 privacy_policy_signed boolean not null default false,
17 author boolean not null default false,
18 accepted_paper_id varchar(8) not null default '',
19 participation_confirmed boolean not null default false,
20 participation_confirmed_at varchar(32) not null default '',
21 earlybird_registration boolean not null default false,
22 student boolean not null default false,
23 conference_dinner boolean not null default false,
Marc Kupietz8701abd2023-03-16 17:33:43 +010024 lunch_day_1 varchar(16) not null default '',
25 lunch_day_2 varchar(16) not null default '',
26 lunch_day_3 varchar(16) not null default '',
Marc Kupietzc8809a62023-03-21 17:58:11 +010027 vegetarian_dinner boolean,
Marc Kupietz5b19e4f2023-03-10 08:30:14 +010028 total_due decimal(10,2) not null default 0.00,
29 registered_at timestamp default '0000-00-00 00:00:00',
30 updated_at timestamp default now() on update now(),
Marc Kupietz1baa9922023-03-10 13:54:23 +010031 invoice MEDIUMBLOB,
32 invoice_reference varchar(32) not null default '',
Marc Kupietzccb04a52023-03-16 17:38:04 +010033 paid boolean not null default false,
34 paid_when date,
Marc Kupietz5b19e4f2023-03-10 08:30:14 +010035 primary key (`id`)
36) engine=innodb AUTO_INCREMENT=100;