-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TASK: Remove --reset-projections
flag from cr:setup
command
#5089
Conversation
Thanks for implementing the stuff i complain about but now i understood what you thought and wrote at the other place. I simply ruled out this as this will defeat the purpose of Now the flag works well for this case, but if also a new table is introduced the reset will complain due to the table not existing. |
@mhsdesign can you elaborate in which cases a |
The relation anchors, that required an empty DB or no tables to exist as the existing table was incompatible with the new schema. |
Ah, right. In general: I want to be able to run |
sure for ci it must always work when were 9.0 stable. but currently We can remove this flag again as well but we thought at that time it was a good idea, or have we all forgotten :D |
I'm OK with the flag and I'm confident that we can keep setUp non-crashing from now on |
TLTR; remove it plz
haha no xD but that shows surely that it was a bad idea from me to introduce it ^^ though having our beta users have to run
was also not cool thats why we introduced it. But it can go now idk. We dont plan any changes like #4791 anymore |
Why should that fail?? Anyways, I'm fine with removing the flag – usually you want to trigger a catchup after reset anyways |
cr:setup
command--reset-projections
flag from cr:setup
command
hen egg situation as said. One must basically now if this flag should be used now or not.
in this case a reset before a setup will fail. But changing the order will not fix the original problem this flag tried to solve see #4791 (comment). But as we dont want any breaking changes anymore in the schema that cant be automigrated with filled data (asking @kitsunet here?) we can drop it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry that everything i touch grows into a large discussion 😅
cant we just share one singleton instance of my brain part that holds the cr parts :D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a dangerous thing anyways… 😎
Removes the
--reset-projections
option from thecr:setup
command because that could failFixes: #5008