質問編集履歴

1

テーブル構造追記

2017/08/23 09:11

投稿

samuraiders
samuraiders

スコア63

test CHANGED
File without changes
test CHANGED
@@ -89,3 +89,43 @@
89
89
  MySQL:5.7.17
90
90
 
91
91
  Nginx:1.10.2
92
+
93
+
94
+
95
+ ### 追記
96
+
97
+ 該当テーブルは以下となります。
98
+
99
+
100
+
101
+ ```
102
+
103
+ CREATE TABLE `bookings` (
104
+
105
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
106
+
107
+ `car_id` bigint(20) NOT NULL,
108
+
109
+ `parking_id` bigint(20) NOT NULL,
110
+
111
+ `status` tinyint(2) NOT NULL,
112
+
113
+ `start_date` datetime NOT NULL,
114
+
115
+ `end_date` datetime NOT NULL,
116
+
117
+ `checkin_date` datetime DEFAULT NULL,
118
+
119
+ `checkout_date` datetime DEFAULT NULL,
120
+
121
+ `cancel_date` datetime DEFAULT NULL,
122
+
123
+ `created` datetime NOT NULL,
124
+
125
+ `modified` datetime NOT NULL,
126
+
127
+ PRIMARY KEY (`id`)
128
+
129
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8
130
+
131
+ ```