Sha256: f8b4ba9b6cbc53b6c78621b150a8316bc84fe479756537b379ba00ec500180f4

Contents?: true

Size: 231 Bytes

Versions: 8

Compression:

Stored size: 231 Bytes

Contents

class CreateTags < ActiveRecord::Migration
  def change
    create_table :tags do |t|
      t.string :name
      t.text :description
      t.references :taggable, polymorphic: true

      t.timestamps null: false
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
strong_form-0.0.9 spec/dummy/db/migrate/20150626132542_create_tags.rb
strong_form-0.0.8 spec/dummy/db/migrate/20150626132542_create_tags.rb
strong_form-0.0.6 spec/dummy/db/migrate/20150626132542_create_tags.rb
strong_form-0.0.5 spec/dummy/db/migrate/20150626132542_create_tags.rb
strong_form-0.0.4 spec/dummy/db/migrate/20150626132542_create_tags.rb
strong_form-0.0.3 spec/dummy/db/migrate/20150626132542_create_tags.rb
strong_form-0.0.2 spec/dummy/db/migrate/20150626132542_create_tags.rb
strong_form-0.0.1 spec/dummy/db/migrate/20150626132542_create_tags.rb