fix: clean up payout migrations, remove ghosts, add defaults and indexes
This commit is contained in:
@@ -22,11 +22,16 @@ class CreateEvents < ActiveRecord::Migration[8.0]
|
||||
# Allow ticket sell during the event
|
||||
t.boolean :allow_booking_during_event, default: false, null: false
|
||||
|
||||
# Payout fields
|
||||
t.integer :payout_status
|
||||
t.datetime :payout_requested_at
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :events, :state
|
||||
add_index :events, :featured
|
||||
add_index :events, [ :latitude, :longitude ]
|
||||
add_index :events, :payout_status
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user