class CreateCrawlStationSchedules

Public Instance Methods

change() click to toggle source
# File lib/crawl_station/db/migrate/001_create_crawl_station_schedules.rb, line 2
def change
  create_table :crawl_station_schedules do |t|
    t.string :namespace
    t.string :parser
    t.string :link, index: true
    t.integer :status, default: 0
    t.timestamps null: false
  end
end