Sha256: 073cfbe88f88c73faa720d1f3557582f7e55400e43e98f7b69e1d26108887a8c

Contents?: true

Size: 421 Bytes

Versions: 9

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

9 entries across 9 versions & 1 rubygems

Version Path
signum-0.6.0 db/migrate/20201125175035_create_signum_signals.rb
signum-0.5.1 db/migrate/20201125175035_create_signum_signals.rb
signum-0.5.0 db/migrate/20201125175035_create_signum_signals.rb
signum-0.4.13 db/migrate/20201125175035_create_signum_signals.rb
signum-0.4.12 db/migrate/20201125175035_create_signum_signals.rb
signum-0.4.11 db/migrate/20201125175035_create_signum_signals.rb
signum-0.4.10 db/migrate/20201125175035_create_signum_signals.rb
signum-0.4.8 db/migrate/20201125175035_create_signum_signals.rb
signum-0.3.12 db/migrate/20201125175035_create_signum_signals.rb