Class: GTFS::Meta::CreateFeedVersionChecks
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- GTFS::Meta::CreateFeedVersionChecks
- Defined in:
- lib/gtfs/meta/migrations/create_feed_version_checks.rb
Instance Method Summary collapse
-
#change ⇒ Object
TODO: re-construct this migration from a custom generator.
Instance Method Details
#change ⇒ Object
TODO: re-construct this migration from a custom generator
6 7 8 9 10 11 12 13 14 |
# File 'lib/gtfs/meta/migrations/create_feed_version_checks.rb', line 6 def change create_table :feed_version_checks do |t| t.integer :feed_version_id, :null => false t.string :status t. end add_index :feed_version_checks, :feed_version_id end |