Sha256: 05327fdd6756b0f8d71e77e74f02b68f6849a59be29486dcda810b9b0cba34d1

Contents?: true

Size: 244 Bytes

Versions: 8

Compression:

Stored size: 244 Bytes

Contents

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

       t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
go_gamification-0.0.20 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.19 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.18 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.17 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.16 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.15 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.14 db/migrate/20171020181447_create_go_gamification_tasks.rb
go_gamification-0.0.13 db/migrate/20171020181447_create_go_gamification_tasks.rb