1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20230718133636_create_reservation_contexts.rb

11 lines
237 B
Ruby
Raw Normal View History

2023-07-20 16:55:22 +02:00
class CreateReservationContexts < ActiveRecord::Migration[7.0]
def change
create_table :reservation_contexts do |t|
t.string :name
t.string :applicable_on, array: true, default: []
t.timestamps
end
end
end