Skip to content

Latest commit

History

169 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Data Change Request Tool

An attempt to build a fully functional change request tool on the flask framework rather than dash

The App will require two folders at the top level directory for the application to read from and write to Those folders should be named "files" and "export"

The App will also require the database to be an ESRI enterprise geodatabase, as it uses certain functions from ESRI's geodatabases (next_rowid, next_globalid) SCCWRP's databases are Postgres ESRI geodatabases, so it will interface with no problem for SCCWRP's databases

The app requires a users table (which we call db_editors by default) and a table called change_history.

Schema for change_history table (can be named differently but that must be specified in the configuration)
This table must be registered with the geodatabase

column_nameis_nullabledtypecharacter_maximum_lengthnumeric_precisionnumeric_scaledatetime_precision
objectidNOint4(Null)320(Null)
original_recordYESjson(Null)(Null)(Null)(Null)
modified_recordYESjson(Null)(Null)(Null)(Null)
change_idYESint4(Null)320(Null)
submissionidYESint4(Null)320(Null)
requesting_agencyYESvarchar50(Null)(Null)(Null)
requesting_personYESvarchar50(Null)(Null)(Null)
change_dateYEStimestamp(Null)(Null)(Null)6
change_processedYESvarchar50(Null)(Null)(Null)
login_fieldsYESjson(Null)(Null)(Null)(Null)

Schema for db_editors (which is essentially a users table)

column_nameis_nullabledtypecharacter_maximum_lengthnumeric_precisionnumeric_scaledatetime_precision
emailNOvarchar255(Null)(Null)(Null)
passwordYESvarchar255(Null)(Null)(Null)
organizationYESvarchar255(Null)(Null)(Null)
is_adminYESvarchar3(Null)(Null)(Null)
is_authorizedYESvarchar3(Null)(Null)(Null)
idNOint4(Null)320(Null)
firstnameYESvarchar50(Null)(Null)(Null)
lastnameYESvarchar50(Null)(Null)(Null)
signup_dateYEStimestamp(Null)(Null)(Null)6
email_confirmedYESvarchar(Null)(Null)(Null)(Null)
email_confirmed_dateYEStimestamp(Null)(Null)(Null)6

Users must be approved by a database administrator directly in the backend - at this time the app does not have the feature of an admin portal or admin login, but that is an enhancement i want to implement when i have time

About

Tool to allow users who have submitted data to SCCWRP in the past to make editions to past submissions

Topics

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages