mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-19 17:32:37 +00:00
16 lines
426 B
TypeScript
16 lines
426 B
TypeScript
import { Knex } from "knex";
|
|
|
|
import { TableName } from "../schemas";
|
|
|
|
export async function up(knex: Knex): Promise<void> {
|
|
await knex.schema.alterTable(TableName.Certificate, (t) => {
|
|
t.string("altNames", 4096).alter();
|
|
});
|
|
}
|
|
|
|
export async function down(knex: Knex): Promise<void> {
|
|
await knex.schema.alterTable(TableName.Certificate, (t) => {
|
|
t.string("altNames").alter(); // Defaults to varchar(255)
|
|
});
|
|
}
|