Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.17 KB | None | 0 0
  1. CREATE TABLE `Seat` (
  2.   `seat_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  3.   `seat_created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  4.   `seat_event_id` int(11) NOT NULL DEFAULT '0',
  5.   `seat_category_id` int(11) NOT NULL DEFAULT '0',
  6.   `seat_user_id` int(11) DEFAULT NULL,
  7.   `seat_order_id` int(11) DEFAULT NULL,
  8.   `seat_row_nr` varchar(5) DEFAULT NULL,
  9.   `seat_zone_id` int(11) DEFAULT NULL,
  10.   `seat_pmp_id` int(11) DEFAULT NULL,
  11.   `seat_nr` int(11) NOT NULL DEFAULT '0',
  12.   `seat_ts` int(11) DEFAULT NULL,
  13.   `seat_sid` varchar(32) DEFAULT NULL,
  14.   `seat_price` decimal(10,2) DEFAULT NULL,
  15.   `seat_discount_id` int(11) DEFAULT NULL,
  16.   `seat_code` varchar(16) DEFAULT NULL,
  17.   `seat_status` varchar(5) NOT NULL DEFAULT 'free',
  18.   `seat_sales_id` int(11) DEFAULT NULL,
  19.   `seat_old_order_id` int(11) DEFAULT NULL,
  20.   `seat_old_status` varchar(5) DEFAULT NULL,
  21.   `seat_pos_id` int(11) DEFAULT NULL,
  22.   PRIMARY KEY (`seat_id`),
  23.   KEY `seat_event_id` (`seat_event_id`),
  24.   KEY `seat_category_id` (`seat_category_id`),
  25.   KEY `seat_order_id` (`seat_order_id`),
  26.   KEY `seat_ts` (`seat_ts`),
  27.   KEY `seat_status` (`seat_status`)
  28. ) ENGINE=InnoDB AUTO_INCREMENT=224815 DEFAULT CHARSET=utf8;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement