blob: 8559b27ba8a2c5fcfd47e624aded58810ab85f5d [file] [log] [blame]
Marc Kupietzed02c4d2023-03-10 08:30:14 +01001create table `person` (
2 `id` int unsigned not null auto_increment,
3 username varchar(32),
Marc Kupietz144d82e2023-03-26 15:55:42 +02004 title varchar(16) not null default '',
Marc Kupietzed02c4d2023-03-10 08:30:14 +01005 first_name varchar(32) not null default '',
6 last_name varchar(32) not null default '',
7 organization varchar(32) not null default '',
8 user_hash varchar(32) not null default '',
9 password varchar(32) not null default '',
10 street varchar(32) not null default '',
11 zip varchar(12) not null default '',
12 city varchar(32) not null default '',
13 country varchar(32) not null default '',
14 email varchar(50) not null default '',
15 phone varchar(32) not null default '',
16 eula_signed boolean not null default false,
17 privacy_policy_signed boolean not null default false,
18 author boolean not null default false,
19 accepted_paper_id varchar(8) not null default '',
20 participation_confirmed boolean not null default false,
21 participation_confirmed_at varchar(32) not null default '',
22 earlybird_registration boolean not null default false,
23 student boolean not null default false,
24 conference_dinner boolean not null default false,
Marc Kupietz0dbe6b62023-03-21 17:58:11 +010025 vegetarian_dinner boolean,
Marc Kupietzd9e10af2023-03-21 17:59:28 +010026 lunch_day_1 varchar(32) not null default '',
27 lunch_day_2 varchar(32) not null default '',
28 lunch_day_3 varchar(32) not null default '',
Marc Kupietz8b80c7a2023-03-28 21:41:39 +020029 excursion boolean not null default false,
Marc Kupietzed02c4d2023-03-10 08:30:14 +010030 total_due decimal(10,2) not null default 0.00,
31 registered_at timestamp default '0000-00-00 00:00:00',
32 updated_at timestamp default now() on update now(),
Marc Kupietzf97e86f2023-03-10 13:54:23 +010033 invoice MEDIUMBLOB,
34 invoice_reference varchar(32) not null default '',
Marc Kupietz38da8962023-03-16 17:38:04 +010035 paid boolean not null default false,
36 paid_when date,
Marc Kupietz7d728fe2023-03-28 17:32:18 +020037 presentation_confirmed boolean not null default false,
Marc Kupietzed02c4d2023-03-10 08:30:14 +010038 primary key (`id`)
39) engine=innodb AUTO_INCREMENT=100;