Permalink
Browse files

remove timeStart timeEnd

  • Loading branch information...
1 parent 321642e commit 3a19907179b8a88d6d2e9e52ff2b012ab222b126 LED committed May 4, 2012
@@ -0,0 +1,9 @@
+class RemoveTimeStartFromReservation < ActiveRecord::Migration
+ def up
+ remove_column :reservations, :timeStart
+ end
+
+ def down
+ add_column :reservations, :timeStart, :time
+ end
+end
@@ -0,0 +1,9 @@
+class RemoveTimeEndFromReservation < ActiveRecord::Migration
+ def up
+ remove_column :reservations, :timeEnd
+ end
+
+ def down
+ add_column :reservations, :timeEnd, :time
+ end
+end
View
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20120504055739) do
+ActiveRecord::Schema.define(:version => 20120504061656) do
create_table "active_admin_comments", :force => true do |t|
t.string "resource_id", :null => false
@@ -304,8 +304,6 @@
t.string "address"
t.integer "contact"
t.date "date"
- t.time "timeStart"
- t.time "timeEnd"
t.integer "numGuest"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false

0 comments on commit 3a19907

Please sign in to comment.