Sha256: e498ab2a4bfeea28cde2ae8ec3ed2957f68dbff65aba628fc696b67474c2053d

Contents?: true

Size: 266 Bytes

Versions: 10

Compression:

Stored size: 266 Bytes

Contents

class CreateGradingMethodConnectorsTable < ActiveRecord::Migration
  def change
    create_table :gaku_grading_method_connectors do |t|
      t.references :grading_method
      t.references :gradable, polymorphic: true
      t.integer    :position
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
gaku-0.2.4 core/db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku_core-0.2.4 db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku-0.2.3 core/db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku_core-0.2.3 db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku-0.2.2 core/db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku_core-0.2.2 db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku-0.2.1 core/db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku_core-0.2.1 db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku-0.2.0 core/db/migrate/20140213113405_create_grading_method_connectors_table.rb
gaku_core-0.2.0 db/migrate/20140213113405_create_grading_method_connectors_table.rb