Sha256: c78045201815af915043fdbcce620bb6e670251c078b312d93830c66ee6edb6d
Contents?: true
Size: 501 Bytes
Versions: 27
Compression:
Stored size: 501 Bytes
Contents
class CreateCoalescingPandaGroups < CoalescingPanda::MiscHelper::MigrationClass def change create_table :coalescing_panda_groups do |t| t.belongs_to :context, polymorphic: true t.string :description t.string :group_category_id t.string :canvas_group_id t.string :name t.integer :members_count t.timestamps end add_index :coalescing_panda_groups, [:context_id, :canvas_group_id], name: :index_groups_context_and_group_id, unique: true end end
Version data entries
27 entries across 27 versions & 1 rubygems