Sha256: ecb5975f2ac5edc93076ed2296e03379d5b0b3c94973df2856d583798de64fda
Contents?: true
Size: 627 Bytes
Versions: 14
Compression:
Stored size: 627 Bytes
Contents
class AddDetailedFieldsToVenue < ActiveRecord::Migration def self.up add_column :venues, :street_address, :string add_column :venues, :locality, :string add_column :venues, :region, :string add_column :venues, :postal_code, :string add_column :venues, :country, :string add_column :venues, :latitude, :float add_column :venues, :longitude, :float add_column :venues, :email, :string add_column :venues, :telephone, :string end def self.down remove_columns :venues, :street_address, :locality, :region, :postal_code, :country, :latitude, :longitude, :email, :telephone end end
Version data entries
14 entries across 14 versions & 2 rubygems