Sha256: 19c9378631c03f6c33071a40714a42a77f00149c686e76ae72651d0ad31dd358
Contents?: true
Size: 633 Bytes
Versions: 49
Compression:
Stored size: 633 Bytes
Contents
class CreateCoalescingPandaGroupCategories < ActiveRecord::Migration def change create_table :coalescing_panda_group_categories do |t| t.belongs_to :context, polymorphic: true t.string :context_type t.integer :canvas_group_category_id t.string :name t.timestamps end add_index :coalescing_panda_group_categories, [:context_id, :context_type], name: :index_group_categories_context_and_context_type add_column :coalescing_panda_assignments, :coalescing_panda_group_category_id, :integer add_column :coalescing_panda_groups, :coalescing_panda_group_category_id, :integer end end
Version data entries
49 entries across 49 versions & 1 rubygems