mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 06:34:57 +00:00
Add back hashed hex for secret sharing
This commit is contained in:
@@ -17,13 +17,6 @@ export async function up(knex: Knex): Promise<void> {
|
||||
t.timestamp("lastViewedAt").nullable();
|
||||
});
|
||||
}
|
||||
|
||||
const doesHashedHexExist = await knex.schema.hasColumn(TableName.SecretSharing, "hashedHex");
|
||||
if (doesHashedHexExist) {
|
||||
await knex.schema.alterTable(TableName.SecretSharing, (t) => {
|
||||
t.dropColumn("hashedHex");
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user