Sha256: 006b48d9f158641ef4abded076c8ac7c246e34fcd597d8eb9a57a78c6a684115
Contents?: true
Size: 624 Bytes
Versions: 10
Compression:
Stored size: 624 Bytes
Contents
class CreateCoalescingPandaGroupCategories < CoalescingPanda::MiscHelper::MigrationClass def change create_table :coalescing_panda_group_categories do |t| t.belongs_to :context, polymorphic: true 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
10 entries across 10 versions & 1 rubygems