lifecycle: fix otp_merge migration again (#7244)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
e0da3bf2b4
commit
6fb7586b00
|
@ -23,23 +23,22 @@ class Migration(BaseMigration):
|
||||||
return bool(self.cur.rowcount)
|
return bool(self.cur.rowcount)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
with self.con.transaction():
|
self.cur.execute(SQL_STATEMENT)
|
||||||
self.cur.execute(SQL_STATEMENT)
|
self.fake_migration(
|
||||||
self.fake_migration(
|
(
|
||||||
(
|
"authentik_stages_authenticator_static",
|
||||||
"authentik_stages_authenticator_static",
|
"0008_initial",
|
||||||
"0008_initial",
|
),
|
||||||
),
|
(
|
||||||
(
|
"authentik_stages_authenticator_static",
|
||||||
"authentik_stages_authenticator_static",
|
"0009_throttling",
|
||||||
"0009_throttling",
|
),
|
||||||
),
|
(
|
||||||
(
|
"authentik_stages_authenticator_totp",
|
||||||
"authentik_stages_authenticator_totp",
|
"0008_initial",
|
||||||
"0008_initial",
|
),
|
||||||
),
|
(
|
||||||
(
|
"authentik_stages_authenticator_totp",
|
||||||
"authentik_stages_authenticator_totp",
|
"0009_auto_20190420_0723",
|
||||||
"0009_auto_20190420_0723",
|
),
|
||||||
),
|
)
|
||||||
)
|
|
||||||
|
|
Reference in New Issue