Sha256: 75f94bd628db2d1d869172af933015933f6b862f14efcdb57212ff9641157bde
Contents?: true
Size: 344 Bytes
Versions: 6
Compression:
Stored size: 344 Bytes
Contents
class CreateDdrAlertsMessages < ActiveRecord::Migration def up unless table_exists?("ddr_alerts_messages") create_table "ddr_alerts_messages" do |t| t.text "message" t.boolean "active", default: false t.timestamps end end end def down raise ActiveRecord::IrreversibleMigration end end
Version data entries
6 entries across 6 versions & 1 rubygems