Skip to content

Commit

Permalink
Remove Denton Demographic (duplicate)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbttxu committed Mar 4, 2017
1 parent 168dbaf commit caa62f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 58 deletions.
2 changes: 0 additions & 2 deletions app/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
VoterDistrict.import
Billboard.import
School.import
DentonDemographic.import
WellInspection.import
DentonHouse.import
HomelessnessSurvey.import
Expand All @@ -43,7 +42,6 @@
VoterDistrict.delete_all
Billboard.delete_all
School.delete_all
DentonDemographic.delete_all
WellInspection.delete_all
DentonHouse.delete_all
HomelessnessSurvey.destroy_all
Expand Down
12 changes: 0 additions & 12 deletions app/models/denton_demographic.rb

This file was deleted.

9 changes: 9 additions & 0 deletions db/migrate/20170304190000_delete_denton_demographic.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class DeleteDentonDemographic < ActiveRecord::Migration[5.0]
def up
drop_table :denton_demographics
end

def down
raise ActiveRecord::IrreversibleMigration
end
end
45 changes: 1 addition & 44 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20170304175623) do
ActiveRecord::Schema.define(version: 20170304190000) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -48,13 +48,6 @@
t.integer "value"
end

create_table "denton_demographics", force: :cascade do |t|
t.integer "_id"
t.integer "year"
t.string "title_field"
t.integer "value"
end

create_table "denton_houses", force: :cascade do |t|
t.integer "year"
t.integer "total_housing_units"
Expand Down Expand Up @@ -180,40 +173,4 @@
t.integer "shape__length"
end

create_table "well_inspections", force: :cascade do |t|
t.integer "x"
t.integer "y"
t.integer "objectid"
t.string "sitetype"
t.integer "featureid"
t.string "trakitid"
t.string "propertyid"
t.string "siteaddres"
t.string "operator"
t.string "descriptio"
t.string "wellid"
t.string "status"
t.string "site"
t.string "rrcid"
t.string "platid"
t.datetime "platdate"
t.string "amendedpla"
t.datetime "amendedp_1"
t.string "roaddmgfee"
t.datetime "feepaiddat"
t.string "invoicesta"
t.datetime "invoices_1"
t.string "rrcpermit"
t.datetime "rrcpermitd"
t.datetime "casingdate"
t.datetime "spudcompda"
t.datetime "plugdate"
t.string "gaswelllocation"
t.string "zoningdistrict"
t.string "zoningcase"
t.datetime "lastinspectiondate"
t.string "fullname"
t.integer "_id"
end

end

0 comments on commit caa62f7

Please sign in to comment.