1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00
fab-manager/db/migrate/20230718133636_create_reservation_contexts.rb
Nicolas Florentin 043ff6d47e wip
2023-07-20 16:55:22 +02:00

11 lines
237 B
Ruby

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