added migration
This commit is contained in:
parent
e5e2d07ce9
commit
ccae65f27d
@ -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
|
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
@ -37,17 +37,13 @@ ActiveRecord::Schema.define(version: 20140529180650) do
|
|||||||
create_table "campaigns", force: true do |t|
|
create_table "campaigns", force: true do |t|
|
||||||
t.integer "clientid"
|
t.integer "clientid"
|
||||||
t.string "listingcode"
|
t.string "listingcode"
|
||||||
t.string "billingcode"
|
|
||||||
t.string "advertisername"
|
t.string "advertisername"
|
||||||
t.string "address"
|
t.string "address"
|
||||||
t.string "city"
|
t.string "city"
|
||||||
t.string "state"
|
t.string "state"
|
||||||
t.string "zip"
|
t.string "zip"
|
||||||
t.string "emailaddress"
|
t.string "emailaddress"
|
||||||
t.string "customerfirstname"
|
|
||||||
t.string "customerlastname"
|
|
||||||
t.string "businessphone"
|
t.string "businessphone"
|
||||||
t.string "contactphone"
|
|
||||||
t.string "websiteurl"
|
t.string "websiteurl"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
Loading…
Reference in New Issue
Block a user