Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove timeStart timeEnd

  • Loading branch information...
commit 3a19907179b8a88d6d2e9e52ff2b012ab222b126 1 parent 321642e
LED authored
View
9 db/migrate/20120504061554_remove_time_start_from_reservation.rb
@@ -0,0 +1,9 @@
+class RemoveTimeStartFromReservation < ActiveRecord::Migration
+ def up
+ remove_column :reservations, :timeStart
+ end
+
+ def down
+ add_column :reservations, :timeStart, :time
+ end
+end
View
9 db/migrate/20120504061656_remove_time_end_from_reservation.rb
@@ -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
4 db/schema.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.