class GTFS::Meta::CreatePublishers

Public Instance Methods

change() click to toggle source

TODO: re-construct this migration from a custom generator

# File lib/gtfs/meta/migrations/create_publishers.rb, line 6
def change
  create_table :publishers do |t|
    t.string :name
    t.string :url, :null => false
    t.string :feeds_url
    t.string :email_address
    t.timestamps
  end
end