Sha256: 543d6bb531edd781d28ae7ef2199d2fe163566aabd48a5f4362a2a2926a12332
Contents?: true
Size: 438 Bytes
Versions: 4
Compression:
Stored size: 438 Bytes
Contents
class CreateSeemsRateableRates < ActiveRecord::Migration def self.up create_table :seems_rateable_rates do |t| t.belongs_to :rater t.belongs_to :rateable, :polymorphic => true t.float :stars, :null => false t.integer :rater_id, :limit => 8 t.integer :rateable_id t.string :rateable_type t.string :dimension t.timestamps end end def self.down drop_table :rates end end
Version data entries
4 entries across 4 versions & 1 rubygems