 		(sql/db-do-commands c
 	                    (sql/create-table-ddl "history"
 	                                           [:booking_id "varchar(48)"]
-	                                           [:seat "varchar(10)"]
+	                                           [:id "varchar(10)"]
 	                                           [:status "varchar(20)"]
 	                                           [:date :timestamp :default :current_timestamp]
 	                                           ))))

	                    (sql/create-table-ddl "seats"
	                                           [:id "varchar(10)" :primary :key]
	                                           [:status "varchar(20)"]
	                                           [:booking_id "varchar(32)"]))
		(apply sql/insert! c "seats" 
			(gen-seats-data seat-schema))))



	(migrate-live! "1_reinit_seats" migrate__reinit_seats!)

	(migrate-live! "2_seats_for_judges"  migrate__seats_for_judges!)

)

