listpush/db/migrate/20140114063624_create_list_entries.rb

24 lines
702 B
Ruby
Raw Normal View History

2014-01-14 06:46:59 +00:00
class CreateListEntries < ActiveRecord::Migration
def change
create_table :list_entries do |t|
t.string :BusinessName, :limit => 100
t.string :Department, :limit => 100
t.string :Address, :limit => 100
t.string :City, :limit => 28
t.string :State, :limit => 2
t.string :Zip, :limit => 5
t.string :Phone, :limit => 10
t.string :Fax, :limit => 10
t.string :AltNumber, :limit => 10
t.string :UnstructuredTerms
t.integer :CreditCards
t.string :URL, :limit => 2048
t.string :eMail, :limit => 320
t.string :HoursOfOperation, :limit => 100
t.string :LogoImage, :limit => 128
t.timestamps
end
end
end