Sprankelprachtig aan/afmeldsysteem

20170930201201_create_default_subgroups.rb 264B

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