Looking for changes on website content https://projet-alice-demo.herokuapp.com/diffs/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines

  1. class CreateGroups < ActiveRecord::Migration[5.1]
  2. def change
  3. create_table :groups do |t|
  4. t.string :name, null: false, unique: true
  5. t.string :targets
  6. t.belongs_to :template, index: true, foreign_key: true
  7. t.index :name, unique: true
  8. t.index :template
  9. end
  10. end
  11. end