Sprankelprachtig aan/afmeldsysteem

20171001124009_create_subgroups.rb 252B

123456789101112
  1. class CreateSubgroups < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :subgroups do |t|
  4. t.references :activity, foreign_key: true
  5. t.string :name, null: false
  6. t.boolean :is_assignable
  7. t.timestamps
  8. end
  9. end
  10. end