Sha256: bd3ec76d501d43257383c00795a50d14f792073ffb34a6419de81959b5e7cfec
Contents?: true
Size: 374 Bytes
Versions: 5
Compression:
Stored size: 374 Bytes
Contents
class CreateGamificationScorings < ActiveRecord::Migration def change create_table :gamification_scorings do |t| t.references :task, index: true t.references :subjectable, polymorphic: true t.timestamps end add_index :gamification_scorings, [:subjectable_id, :subjectable_type], name: 'index_gamification_scorings_on_subjectable' end end
Version data entries
5 entries across 5 versions & 1 rubygems