Sha256: 4f2e71835efcb86290de1c688d0f97a253801568535f7b8f77caaa448995a368

Contents?: true

Size: 247 Bytes

Versions: 3

Compression:

Stored size: 247 Bytes

Contents

class CreateGoGamificationTasks < ActiveRecord::Migration[5.1]
  def change
    create_table :go_gamification_tasks do |t|
      t.references :taskable, polymorphic: true, index: true
      t.integer :points

       t.timestamps
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
go_gamification-0.0.7 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.6 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.4 db/migrate/20171020181447_create_go_gamification_tasks.rb