26 lines
596 B
Ruby
26 lines
596 B
Ruby
class CreateCampaigns < ActiveRecord::Migration
|
|
def change
|
|
create_table :campaigns do |t|
|
|
t.string :clientid
|
|
t.string :listingcode
|
|
t.string :billingcode
|
|
t.string :advertisername
|
|
t.string :address1
|
|
t.string :address2
|
|
t.string :city
|
|
t.string :state
|
|
t.string :zip
|
|
t.string :emailaddress
|
|
t.string :customerfirstname
|
|
t.string :customerlastname
|
|
t.string :salesrep
|
|
t.string :salesrepemail
|
|
t.string :businessphone
|
|
t.string :contactphone
|
|
t.string :websiteurl
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|