mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-22 03:02:14 +00:00
feat: migrate unique constraints v1 to v2 (#1274)
* fix: unique migration * fix: unique migration * fix: remove migrations * fix: member events
This commit is contained in:
@@ -6,16 +6,17 @@ import (
|
||||
)
|
||||
|
||||
type IAMSetUp struct {
|
||||
Step1 *command.Step1
|
||||
Step2 *command.Step2
|
||||
Step3 *command.Step3
|
||||
Step4 *command.Step4
|
||||
Step5 *command.Step5
|
||||
Step6 *command.Step6
|
||||
Step7 *command.Step7
|
||||
Step8 *command.Step8
|
||||
Step9 *command.Step9
|
||||
Step1 *command.Step1
|
||||
Step2 *command.Step2
|
||||
Step3 *command.Step3
|
||||
Step4 *command.Step4
|
||||
Step5 *command.Step5
|
||||
Step6 *command.Step6
|
||||
Step7 *command.Step7
|
||||
Step8 *command.Step8
|
||||
Step9 *command.Step9
|
||||
Step10 *command.Step10
|
||||
Step11 *command.Step11
|
||||
}
|
||||
|
||||
func (setup *IAMSetUp) Steps(currentDone domain.Step) ([]command.Step, error) {
|
||||
@@ -32,6 +33,7 @@ func (setup *IAMSetUp) Steps(currentDone domain.Step) ([]command.Step, error) {
|
||||
setup.Step8,
|
||||
setup.Step9,
|
||||
setup.Step10,
|
||||
setup.Step11,
|
||||
} {
|
||||
if step.Step() <= currentDone {
|
||||
continue
|
||||
|
Reference in New Issue
Block a user