mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Delete 20250713154007_test-migration.ts
This commit is contained in:
@@ -1,15 +0,0 @@
|
|||||||
import { Knex } from "knex";
|
|
||||||
|
|
||||||
import { TableName } from "../schemas";
|
|
||||||
|
|
||||||
export async function up(knex: Knex): Promise<void> {
|
|
||||||
await knex.schema.alterTable(TableName.SuperAdmin, (table) => {
|
|
||||||
table.string("test_column").notNullable().defaultTo("test_value");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function down(knex: Knex): Promise<void> {
|
|
||||||
await knex.schema.alterTable(TableName.SuperAdmin, (table) => {
|
|
||||||
table.dropColumn("test_column");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user