Looking for changes on website content https://projet-alice-demo.herokuapp.com/diffs/
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
424B

  1. class CreateSites < ActiveRecord::Migration[5.1]
  2. def change
  3. create_table :sites do |t|
  4. t.string :url, null: false
  5. t.string :name, index: true
  6. t.string :targets
  7. t.binary :reference
  8. t.binary :content
  9. t.belongs_to :group, index: true, foreign_key: true
  10. t.belongs_to :template, index: true, foreign_key: true
  11. t.string :last_error
  12. t.datetime :checked_at
  13. t.datetime :changed_at
  14. end
  15. end
  16. end