early-fountain-60696
04/13/2022, 7:54 AMkratos=# select * from identity_credential_types;
id | name
78c1b41d-8341-4507-aa60-aff1d4369670 | password
6fa5e2e0-bfce-4631-b62b-cf2b0252b289 | oidc
5e29b036-aa47-457f-9fe6-aa8b854a752b | totp
567a0730-7f48-4dd7-a13d-df87a51c245f | lookup_secret
6b213fa0-e6ad-46cb-8878-b088d2ce2e3c | webauthn
I would like to add a new line for SAML. I know it's all in the migration scripts but there are a lot of them and I don't really understand how it works. Could someone explain to me how to add my SAML line automatically when the DB is created?steep-lamp-91158
steep-lamp-91158
steep-lamp-91158
make migrations-render-replace
steep-lamp-91158
early-fountain-60696
04/13/2022, 8:49 AMsteep-lamp-91158
magnificent-energy-493
steep-lamp-91158
magnificent-energy-493
steep-lamp-91158
faint-sandwich-26722
04/13/2022, 9:29 AMsteep-lamp-91158
steep-lamp-91158
faint-sandwich-26722
04/13/2022, 9:35 AMfaint-sandwich-26722
08/05/2022, 2:55 PMunable to fetch records: ERROR: column identities.metadata_admin does not exist (SQLSTATE 42703)"
reaching the api /admin/identities
So I tried to do a kratos migrate
but then I run into the error An error occurred while connecting to SQL: error executing migrations/sql/20220301102702000001_identity_address_performance.postgres.up.sql, sql: UPDATE identity_verification_addresses SET value = LOWER(value) WHERE TRUE;: ERROR: relation "identity_verification_addresses" does not exist (SQLSTATE 42P01)
So I though I'd need to do a make migrations-render-replace
, but it seems to no longer exist.
What should I do to migrate properly my database?steep-lamp-91158
steep-lamp-91158
steep-lamp-91158
faint-sandwich-26722
08/05/2022, 3:11 PMfaint-sandwich-26722
08/09/2022, 9:37 AMmagnificent-energy-493