Stashing changes

This commit is contained in:
dominic 2019-09-19 07:50:23 +01:00
parent 1d194cf4ca
commit 16810db016
2 changed files with 2431 additions and 696 deletions

View File

@ -1,20 +1,12 @@
-- Remove planning and controls fields -- Remove planning and controls fields
--Landuse is hierachical. Highest level is Order (Residential) then Group (Residential-Dwelling) then Class (Residential-Dwelling-Detached house) --Landuse is hierachical. Highest level is Order (Residential) then Group (Residential-Dwelling) then Class (Residential-Dwelling-Detached house)
--Fields could be linked when not mixed use Example: If user inputs class field (Detached-House) on front end then trigger on db automatically will populate group and order. If we go this route then a trigger is needed on the db both to run and remove this process. --Fields could be linked when not mixed use Example: If user inputs class field (Detached-House) on front end then trigger on db automatically will populate group and order. If we go this route then a trigger is needed on the db both to run and remove this process.
--Landuse us a table as #358
-- Land use, single or mutiple classes? -- Land use, single or mutiple classes?
ALTER TABLE buildings DROP COLUMN IF EXISTS landuse_mutiple_use; ALTER TABLE buildings DROP COLUMN IF EXISTS landuse_mutiple_use;
-- Land use, how many different uses? -- Land use, how many different uses?
ALTER TABLE buildings DROP COLUMN IF EXISTS landuse_number_of_uses; ALTER TABLE buildings DROP COLUMN IF EXISTS landuse_number_of_uses;
-- Land use NLUD class, this might be multiple and should match number of uses input -- Land use is table with 3 levels order > group > class
ALTER TABLE buildings DROP COLUMN IF EXISTS landuse_class; DROP TABLE IF EXISTS landuse_classifications;
-- Land use NLUD group, can only be one - prepopulated if mixed
ALTER TABLE buildings DROP COLUMN IF EXISTS landuse_group;
-- Land use NLUD order, can only be one - prepopulated if mixed
ALTER TABLE buildings DROP COLUMN IF EXISTS landuse_order;

File diff suppressed because it is too large Load Diff