5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 23:21:42 +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