Sha256: 800ebf362c17ecaeeb852addaaa09e5b6ef5abf055d5043426e35d2cf353f116

Contents?: true

Size: 421 Bytes

Versions: 5

Compression:

Stored size: 421 Bytes

Contents

class CreateSignumSignals < ActiveRecord::Migration[6.0]
  def change
    create_table :signum_signals, id: :uuid do |t|
      t.string :state, default: "pending"
      t.references :signalable, polymorphic: true, optional: false, null: false, type: :uuid

      t.string :kind, default: "notice"
      t.boolean :sticky
      t.string :icon
      t.string :title
      t.text :text

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
signum-0.7.8 db/migrate/20201125175035_create_signum_signals.rb
signum-0.7.4 db/migrate/20201125175035_create_signum_signals.rb
signum-0.7.2 db/migrate/20201125175035_create_signum_signals.rb
signum-0.7.1 db/migrate/20201125175035_create_signum_signals.rb
signum-0.7.0 db/migrate/20201125175035_create_signum_signals.rb