Sha256: da93b682eaf31ddcf9e7781032829c227cb3ffc9daadbdfcc0d8973f441f4364

Contents?: true

Size: 211 Bytes

Versions: 7

Compression:

Stored size: 211 Bytes

Contents

class CreateRatings < ActiveRecord::Migration
  def change
    create_table :ratings do |t|
      t.references :comment
      t.integer :score
      t.integer :sequential_id
      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sequenced-3.1.1 test/dummy/db/migrate/20130715002029_create_ratings.rb
sequenced-3.1.0 test/dummy/db/migrate/20130715002029_create_ratings.rb
sequenced-3.0.0 test/dummy/db/migrate/20130715002029_create_ratings.rb
sequenced-2.0.0 test/dummy/db/migrate/20130715002029_create_ratings.rb
sequenced-1.6.0 test/dummy/db/migrate/20130715002029_create_ratings.rb
sequenced-1.5.0 test/dummy/db/migrate/20130715002029_create_ratings.rb
sequenced-1.4.0 test/dummy/db/migrate/20130715002029_create_ratings.rb