Class: CreateCrawlStationSchedules
- Inherits:
-
Object
- Object
- CreateCrawlStationSchedules
- Defined in:
- lib/crawl_station/db/migrate/001_create_crawl_station_schedules.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 |
# 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. null: false end end |