mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 22:16:22 +00:00
14 lines
349 B
Ruby
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
|