Sha256: 6b92678dfe8992a17cfeaae77615789c8cd5db7314ffece6fa23077884f06854

Contents?: true

Size: 383 Bytes

Versions: 36

Compression:

Stored size: 383 Bytes

Contents

class CreateSystemMessages < ActiveRecord::Migration[5.1]
  def change
    create_table :system_messages do |t|
      t.string :title, null: true
      t.text :body, null: false
      t.integer :message_type, null: false, default: 0
      t.string :severity
      t.datetime :display_from, null: false
      t.datetime :display_until
      t.timestamps null: false
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
renalware-core-2.0.64 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.63 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.62 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.61 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.60 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.58 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.57 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.56 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.55 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.54 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.53 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.52 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.51 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.50 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.48 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.47 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.46 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.45 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.44 db/migrate/20180514151627_create_system_messages.rb
renalware-core-2.0.43 db/migrate/20180514151627_create_system_messages.rb