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), |
| 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 Kupietz | 79eaa0b | 2023-03-16 17:33:43 +0100 | [diff] [blame] | 24 | 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 Kupietz | ed02c4d | 2023-03-10 08:30:14 +0100 | [diff] [blame] | 27 | total_due decimal(10,2) not null default 0.00, |
| 28 | registered_at timestamp default '0000-00-00 00:00:00', |
| 29 | updated_at timestamp default now() on update now(), |
Marc Kupietz | f97e86f | 2023-03-10 13:54:23 +0100 | [diff] [blame] | 30 | invoice MEDIUMBLOB, |
| 31 | invoice_reference varchar(32) not null default '', |
Marc Kupietz | ed02c4d | 2023-03-10 08:30:14 +0100 | [diff] [blame] | 32 | primary key (`id`) |
| 33 | ) engine=innodb AUTO_INCREMENT=100; |