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.

12 lines
311B

  1. class CreateTargets < ActiveRecord::Migration[5.1]
  2. def change
  3. create_table :targets do |t|
  4. t.belongs_to :template, index: true, foreign_key: true
  5. t.belongs_to :group, index: true, foreign_key: true
  6. t.belongs_to :site, index: true, foreign_key: true
  7. t.timestamps
  8. end
  9. end
  10. end