24 lines
702 B
Ruby
24 lines
702 B
Ruby
|
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
|