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

15 lines
349 B
Ruby
Raw Normal View History

2020-06-16 16:35:08 +00:00
# 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