Sha256: 287eb77e59eff9f2f2bc5c7fc20e98779801cbdb4e9fc9051b2416697e6174b5

Contents?: true

Size: 169 Bytes

Versions: 8

Compression:

Stored size: 169 Bytes

Contents

class CreateTags < ActiveRecord::Migration
  def change
    create_table :tags do |t|
      t.references :post
      t.string :name
      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
embedded_associations-4.1.2 spec/support/app/db/migrate/20130226001629_create_tags.rb
embedded_associations-4.1.1 spec/support/app/db/migrate/20130226001629_create_tags.rb
embedded_associations-4.1.0 spec/support/app/db/migrate/20130226001629_create_tags.rb
embedded_associations-4.0.0 spec/support/app/db/migrate/20130226001629_create_tags.rb
embedded_associations-0.0.4 spec/support/app/db/migrate/20130226001629_create_tags.rb
embedded_associations-0.0.3 spec/support/app/db/migrate/20130226001629_create_tags.rb
embedded_associations-0.0.2 spec/support/app/db/migrate/20130226001629_create_tags.rb
embedded_associations-0.0.1 spec/support/app/db/migrate/20130226001629_create_tags.rb