Skip to content

Commit

Permalink
Seed a Parramatta City Council application for local dev purposes.
Browse files Browse the repository at this point in the history
Signed-off-by: David Black <[email protected]>
  • Loading branch information
dbaxa committed Apr 25, 2022
1 parent 21fec80 commit 87723a1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
website_url: "http://www.marrickville.nsw.gov.au",
disabled: false

authorityTwo = Authority.create! full_name: "Parramatta City Council",
short_name: "Parramatta",
state: "NSW",
email: "[email protected]",
population_2017: "243276",
morph_name: "planningalerts-scrapers/multiple_epathway_scraper",
website_url: "https://www.cityofparramatta.nsw.gov.au",
disabled: false

CreateOrUpdateApplicationService.call(
authority: authority,
council_reference: "DA21/0642",
Expand All @@ -26,3 +35,20 @@
lng: 150.6486731
}
)

CreateOrUpdateApplicationService.call(
authority: authorityTwo,
council_reference: "DA/321/2022",
attributes: {
address: "110 Wetherill Street North, SILVERWATER NSW 2128",
description: "Change of use to a vehicle dismantling premises and metal car part storage facility.",
date_scraped: Time.zone.now,
info_url: "https://onlineservices.cityofparramatta.nsw.gov.au/ePathway/Prod/Web/GeneralEnquiry/EnquiryDetailView.aspx?Id=742618",
# Values that would normally be the result of geocoding
suburb: "Silverwater",
state: "NSW",
postcode: "2128",
lat: -33.83568859225864,
lng: 151.04994362636435
}
)

0 comments on commit 87723a1

Please sign in to comment.