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:
Fabi
2021-02-15 13:31:24 +01:00
committed by GitHub
parent 3bc3ef1f2c
commit ee86eb4399
47 changed files with 630 additions and 173 deletions

View File

@@ -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