develop #3
@@ -19,6 +19,9 @@ class CreateEvents < ActiveRecord::Migration[8.0]
|
||||
t.boolean :featured, default: false, null: false
|
||||
t.references :user, null: false, foreign_key: false
|
||||
|
||||
# Allow ticket sell during the event
|
||||
t.boolean :allow_booking_during_event, default: false, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
class AddAllowBookingDuringEventToEvents < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :events, :allow_booking_during_event, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user