Skip to content

Commit

Permalink
changelog:
Browse files Browse the repository at this point in the history
1. added resetschema.sql function to reset testing schema
2. formatting changes and consolidating some additional data
3. datagrid column arrays are in process of being moved into separate .tsx file so that Typography formatting can be applied to headers when needed (if column names are too large, etc)
4. Updated personnel fixeddata and cmprevalidation API endpoints to correctly work with updated PersonnelRDS type/table
5. Playwright initialization added and setup. No tests currently added, but future proofing for use.
6. RolloverModal added to handle rollover process when creating a new census. Allows users to selectively choose personnel OR quadrats to rollover from one OR more past censuses (where data is present).
7. Instead of discarding testing component file, was instead converted into the RolloverStemsModal. Its function has not been enabled but has been integrated. Allows users to additionally rollover stems data if needed ONLY if quadrats data is already being rolled over. Still needs to be fully tested and repaired (assuming bugs are present)
8. area selection options macro added now that dedicated selection array for area measurements added SQL-side.
  • Loading branch information
siddheshraze committed Jul 17, 2024
1 parent ea06968 commit 042bded
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions frontend/sqlscripting/resetschema.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
set foreign_key_checks = 0;
truncate attributes;
truncate census;
truncate cmattributes;
truncate cmverrors;
truncate coremeasurements;
truncate family;
truncate genus;
truncate personnel;
truncate plots;
truncate quadratpersonnel;
truncate quadrats;
truncate reference;
truncate roles;
truncate species;
truncate specieslimits;
truncate specimens;
truncate stems;
truncate subquadrats;
truncate unifiedchangelog;
truncate validationchangelog;
set foreign_key_checks = 1;
Empty file.

0 comments on commit 042bded

Please sign in to comment.