added migration

This commit is contained in:
Tyrel Souza 2014-07-07 12:39:27 -04:00
parent e5e2d07ce9
commit ccae65f27d
2 changed files with 10 additions and 5 deletions

View File

@ -0,0 +1,9 @@
class RemoveContactphoneCustomerfirstnameCustomerlastnameBillingcodeFromCampaign < ActiveRecord::Migration
def change
remove_column :campaigns, :customerfirstname
remove_column :campaigns, :customerlastname
remove_column :campaigns, :contactphone
remove_column :campaigns, :billingcode
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140529180650) do
ActiveRecord::Schema.define(version: 20140707163626) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -37,17 +37,13 @@ ActiveRecord::Schema.define(version: 20140529180650) do
create_table "campaigns", force: true do |t|
t.integer "clientid"
t.string "listingcode"
t.string "billingcode"
t.string "advertisername"
t.string "address"
t.string "city"
t.string "state"
t.string "zip"
t.string "emailaddress"
t.string "customerfirstname"
t.string "customerlastname"
t.string "businessphone"
t.string "contactphone"
t.string "websiteurl"
t.datetime "created_at"
t.datetime "updated_at"