-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Migration Attributes #46476
Migration Attributes #46476
Conversation
Ease the naming and avoid ambiguity by using standard sql terms
|
f7638be
to
c11cae7
Compare
c11cae7
to
adb01b2
Compare
adb01b2
to
3342cbe
Compare
3342cbe
to
8682db1
Compare
@AndyScherzinger this does not close #45943. It's the first of five changes |
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.
- All new classes, their methods and properties require
@since 30.0.0
- All new classes require unit test coverage
d54eca5
to
9538865
Compare
9538865
to
caffae9
Compare
caffae9
to
577fd53
Compare
d9752d9
to
55a5d8e
Compare
psalm error not related: #46846 |
when using an install made from repository (with apps/testing/ available): generate metadata from current install:
enable testing app:
delete migration from db:
preview future migrations:
|
Signed-off-by: Maxence Lange <[email protected]> d Signed-off-by: Maxence Lange <[email protected]> f Signed-off-by: Maxence Lange <[email protected]> d Signed-off-by: Maxence Lange <[email protected]>
Signed-off-by: Maxence Lange <[email protected]>
Signed-off-by: Maxence Lange <[email protected]>
Signed-off-by: Maxence Lange <[email protected]>
Signed-off-by: Maxence Lange <[email protected]>
55a5d8e
to
a9e1dc6
Compare
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.
Attributes look good
/backport to stable29 |
tasks
new occ commands
./occ migrations:generate-metadata
to create a JSON file./occ migrations:preview <version>
to display migration that will be executed if an upgrade to version is initiateddetails
When adding some attributes to a migration:
will display some details when running the preview occ command:
steps to execute implemented new commands:
when using an install made from repository (with apps/testing/ available):
generate metadata from current install:
enable testing app:
delete migration from db:
preview future migrations:
result:
Checklist