Sha256: 58dc6967aeed98bd0346c2e8f8af33842c458150708a0f51a60f4e7b6487bed5

Contents?: true

Size: 333 Bytes

Versions: 15

Compression:

Stored size: 333 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :stance_event_records do |t|
      t.string :name
      t.<%= properties_type %> :metadata
      t.belongs_to :subject, polymorphic: true
      t.datetime :dismissed_at, index: true
      t.timestamps
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
stance-0.8.3 lib/generators/stance/templates/migration.rb.tt
stance-0.8.2 lib/generators/stance/templates/migration.rb.tt
stance-0.8.1 lib/generators/stance/templates/migration.rb.tt
stance-0.8.0 lib/generators/stance/templates/migration.rb.tt
stance-0.7.1 lib/generators/stance/templates/migration.rb.tt
stance-0.7.0 lib/generators/stance/templates/migration.rb.tt
stance-0.6.0 lib/generators/stance/templates/migration.rb.tt
stance-0.5.3 lib/generators/stance/templates/migration.rb.tt
stance-0.5.2 lib/generators/stance/templates/migration.rb.tt
stance-0.5.1 lib/generators/stance/templates/migration.rb.tt
stance-0.5.0 lib/generators/stance/templates/migration.rb.tt
stance-0.4.0 lib/generators/stance/templates/migration.rb.tt
stance-0.3.0 lib/generators/stance/templates/migration.rb.tt
stance-0.2.0 lib/generators/stance/templates/migration.rb.tt
stance-0.1.0 lib/generators/stance/templates/migration.rb.tt