diff --git a/frontend/sqlscripting/resetschema.sql b/frontend/sqlscripting/resetschema.sql new file mode 100644 index 00000000..07315457 --- /dev/null +++ b/frontend/sqlscripting/resetschema.sql @@ -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; \ No newline at end of file diff --git a/frontend/sqlscripting/tempmigratechanges.sql b/frontend/sqlscripting/tempmigratechanges.sql new file mode 100644 index 00000000..e69de29b