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.
 
 
 
 
 
 

20 lines
424 B

class CreateSites < ActiveRecord::Migration[5.1]
def change
create_table :sites do |t|
t.string :url, null: false
t.string :name, index: true
t.string :targets
t.binary :reference
t.binary :content
t.belongs_to :group, index: true, foreign_key: true
t.belongs_to :template, index: true, foreign_key: true
t.string :last_error
t.datetime :checked_at
t.datetime :changed_at
end
end
end