Sha256: da41e76f3c77d57a0f209d06ba4fd683a19f5d2d38355602394e28c17a8a26b9

Contents?: true

Size: 471 Bytes

Versions: 4

Compression:

Stored size: 471 Bytes

Contents

class CreateRailsLiveDashboardEntries < ActiveRecord::Migration[7.1]
  def change
    create_table :rails_live_dashboard_entries do |t|
      t.string :type, null: false
      t.string :batch_id, limit: 36, null: false
      t.json :content, null: false
      t.boolean :should_show, default: true
      t.datetime :created_at, null: false
    end

    add_index :rails_live_dashboard_entries, :batch_id
    add_index :rails_live_dashboard_entries, :created_at
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_live_dashboard-0.2.0 db/migrate/20240213133517_create_rails_live_dashboard_entries.rb
rails_live_dashboard-0.1.2 db/migrate/20240213133517_create_rails_live_dashboard_entries.rb
rails_live_dashboard-0.1.1 db/migrate/20240213133517_create_rails_live_dashboard_entries.rb
rails_live_dashboard-0.1.0 db/migrate/20240213133517_create_rails_live_dashboard_entries.rb