5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 14:16:22 +00:00
panel/db/migrate/20200616133218_create_maintenance.rb

14 lines
349 B
Ruby

# frozen_string_literal: true
# Crea una tabla de avisos de mantenimiento
class CreateMaintenance < ActiveRecord::Migration[6.0]
def change
create_table :maintenances do |t|
t.timestamps
t.text :message
t.datetime :estimated_from
t.datetime :estimated_to
t.boolean :are_we_back, default: false
end
end
end