Files
codeocean/db/migrate/20230710131250_create_programming_groups.rb
kiragrammel 319c3ab3b4 Add ProgrammingGroup & ProgrammingGroupMembership
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00

12 lines
261 B
Ruby

# frozen_string_literal: true
class CreateProgrammingGroups < ActiveRecord::Migration[7.0]
def change
create_table :programming_groups do |t|
t.belongs_to :exercise, foreign_key: true, null: false, index: true
t.timestamps
end
end
end