Do we need dynamic middleware insted of craeteing tables at setup? #1123
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K#1123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently we run a lot of extra code at each insert, extra string manipulation all the way to create table before we see that it already exists.




This was nessesarry to have it dynamic when we had all tables in the same db, but now when we have stacks we it could just be declared in the init file for that stack, reducing extra logic and making the code a lot easier to read.
BoundlessFlowCampus2K\middleware\middleware\Program.cs MAIN
BoundlessFlowCampus2K\middleware\middleware\Program.cs Create table
The table could just be created at setup in
BoundlessFlowCampus2K\DockerCompose\stacks\xxx\init_sql