Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove authType from mi access token

Maidul Islam753a4daf6985
diff --git a/backend-pg/src/db/migrations/20231228075011_identity-access-token.ts b/backend-pg/src/db/migrations/20231228075011_identity-access-token.ts
index d0bfbe36af..cd81f2960e 100644
--- a/backend-pg/src/db/migrations/20231228075011_identity-access-token.ts
+++ b/backend-pg/src/db/migrations/20231228075011_identity-access-token.ts
@@ -7,7 +7,6 @@ export async function up(knex: Knex): Promise<void> {
if (!(await knex.schema.hasTable(TableName.IdentityAccessToken))) {
await knex.schema.createTable(TableName.IdentityAccessToken, (t) => {
t.uuid("id", { primaryKey: true }).defaultTo(knex.fn.uuid());
- t.string("authType").notNullable();
t.bigInteger("accessTokenTTL").defaultTo(2592000).notNullable(); // 30 days second
t.bigInteger("accessTokenMaxTTL").defaultTo(2592000).notNullable();
t.bigInteger("accessTokenNumUses").defaultTo(0).notNullable();