db/migrate/201401051536_create_crawls.rb in elasticrawl-1.0.0 vs db/migrate/201401051536_create_crawls.rb in elasticrawl-1.1.0
- old
+ new
@@ -1,9 +1,9 @@
class CreateCrawls < ActiveRecord::Migration
def change
create_table :crawls do |t|
t.string :crawl_name
- t.timestamps
+ t.timestamps(:null => false)
end
add_index(:crawls, :crawl_name, :unique => true)
end
end