Sha256: 4a4dc977eb7e284d7a3c86b6d688f7b6fef307a89cb6aa943033fab73ab86750

Contents?: true

Size: 249 Bytes

Versions: 17

Compression:

Stored size: 249 Bytes

Contents

class CreateNeutralVotes < ActiveRecord::Migration
  def change
    create_table :neutral_votes do |t|
      t.string :voteable_type
      t.integer :voteable_id
      t.integer :voter_id
      t.integer :value

      t.timestamps
    end
  end
end

Version data entries

17 entries across 10 versions & 1 rubygems

Version Path
neutral-0.0.10 spec/dummy/db/migrate/20170101120000_create_neutral_votes.rb
neutral-0.0.9 spec/dummy/db/migrate/20170101120000_create_neutral_votes.rb
neutral-0.0.8 spec/dummy/db/migrate/20170101120000_create_neutral_votes.rb
neutral-0.0.7 lib/generators/neutral/install/templates/votes.rb
neutral-0.0.7 spec/dummy/db/migrate/20140118172808881589_create_neutral_votes.rb
neutral-0.0.6 lib/generators/neutral/install/templates/votes.rb
neutral-0.0.6 spec/dummy/db/migrate/20140118172808881589_create_neutral_votes.rb
neutral-0.0.5 spec/dummy/db/migrate/20140118172808881589_create_neutral_votes.rb
neutral-0.0.5 lib/generators/neutral/install/templates/votes.rb
neutral-0.0.4 spec/dummy/db/migrate/20140118172808881589_create_neutral_votes.rb
neutral-0.0.4 lib/generators/neutral/install/templates/votes.rb
neutral-0.0.3 spec/dummy/db/migrate/20140118172808881589_create_neutral_votes.rb
neutral-0.0.3 lib/generators/neutral/install/templates/votes.rb
neutral-0.0.2 spec/dummy/db/migrate/20140118172808881589_create_neutral_votes.rb
neutral-0.0.2 lib/generators/neutral/install/templates/votes.rb
neutral-0.0.1 lib/generators/neutral/install/templates/votes.rb
neutral-0.0.1 spec/dummy/db/migrate/20140118172808881589_create_neutral_votes.rb