Marc Kupietz | ed02c4d | 2023-03-10 08:30:14 +0100 | [diff] [blame] | 1 | create table `person` ( |
| 2 | `id` int unsigned not null auto_increment, |
| 3 | username varchar(32), |
Marc Kupietz | 144d82e | 2023-03-26 15:55:42 +0200 | [diff] [blame] | 4 | title varchar(16) not null default '', |
Marc Kupietz | ed02c4d | 2023-03-10 08:30:14 +0100 | [diff] [blame] | 5 | 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 Kupietz | 0dbe6b6 | 2023-03-21 17:58:11 +0100 | [diff] [blame] | 25 | vegetarian_dinner boolean, |
Marc Kupietz | d9e10af | 2023-03-21 17:59:28 +0100 | [diff] [blame] | 26 | 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 Kupietz | ed02c4d | 2023-03-10 08:30:14 +0100 | [diff] [blame] | 29 | total_due decimal(10,2) not null default 0.00, |
| 30 | registered_at timestamp default '0000-00-00 00:00:00', |
| 31 | updated_at timestamp default now() on update now(), |
Marc Kupietz | f97e86f | 2023-03-10 13:54:23 +0100 | [diff] [blame] | 32 | invoice MEDIUMBLOB, |
| 33 | invoice_reference varchar(32) not null default '', |
Marc Kupietz | 38da896 | 2023-03-16 17:38:04 +0100 | [diff] [blame] | 34 | paid boolean not null default false, |
| 35 | paid_when date, |
Marc Kupietz | 7d728fe | 2023-03-28 17:32:18 +0200 | [diff] [blame] | 36 | presentation_confirmed boolean not null default false, |
Marc Kupietz | ed02c4d | 2023-03-10 08:30:14 +0100 | [diff] [blame] | 37 | primary key (`id`) |
| 38 | ) engine=innodb AUTO_INCREMENT=100; |