kieren
twenty crm railway template
query: CREATE TABLE "metadata"."_typeorm_migrations" ("id" SERIAL NOT NULL, "timestamp" bigint NOT NULL, "name" character varying NOT NULL, CONSTRAINT "PK_a6ff2a8e8bb563f3d15635efd01" PRIMARY KEY ("id"))
query failed: CREATE TABLE "metadata"."_typeorm_migrations" ("id" SERIAL NOT NULL, "timestamp" bigint NOT NULL, "name" character varying NOT NULL, CONSTRAINT "PK_a6ff2a8e8bb563f3d15635efd01" PRIMARY KEY ("id"))
error: error: schema "metadata" does not exist
Error during migration run:
QueryFailedError: schema "metadata" does not exist
at PostgresQueryRunner.query (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:219:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PostgresQueryRunner.executeQueries (/app/node_modules/typeorm/query-runner/BaseQueryRunner.js:425:13)
at async PostgresQueryRunner.createTable (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:425:9)
at async MigrationExecutor.createMigrationsTableIfNotExist (/app/node_modules/typeorm/migration/MigrationExecutor.js:351:13)
at async MigrationExecutor.executePendingMigrations (/app/node_modules/typeorm/migration/MigrationExecutor.js:129:9)
at async DataSource.runMigrations (/app/node_modules/typeorm/data-source/DataSource.js:265:35)
at async Object.handler (/app/node_modules/typeorm/commands/MigrationRunCommand.js:68:13) {
query: 'CREATE TABLE "metadata"."_typeorm_migrations" ("id" SERIAL NOT NULL, "timestamp" bigint NOT NULL, "name" character varying NOT NULL, CONSTRAINT "PK_a6ff2a8e8bb563f3d15635efd01" PRIMARY KEY ("id"))',
query: CREATE TABLE "metadata"."_typeorm_migrations" ("id" SERIAL NOT NULL, "timestamp" bigint NOT NULL, "name" character varying NOT NULL, CONSTRAINT "PK_a6ff2a8e8bb563f3d15635efd01" PRIMARY KEY ("id"))
query failed: CREATE TABLE "metadata"."_typeorm_migrations" ("id" SERIAL NOT NULL, "timestamp" bigint NOT NULL, "name" character varying NOT NULL, CONSTRAINT "PK_a6ff2a8e8bb563f3d15635efd01" PRIMARY KEY ("id"))
error: error: schema "metadata" does not exist
Error during migration run:
QueryFailedError: schema "metadata" does not exist
at PostgresQueryRunner.query (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:219:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PostgresQueryRunner.executeQueries (/app/node_modules/typeorm/query-runner/BaseQueryRunner.js:425:13)
at async PostgresQueryRunner.createTable (/app/node_modules/typeorm/driver/postgres/PostgresQueryRunner.js:425:9)
at async MigrationExecutor.createMigrationsTableIfNotExist (/app/node_modules/typeorm/migration/MigrationExecutor.js:351:13)
at async MigrationExecutor.executePendingMigrations (/app/node_modules/typeorm/migration/MigrationExecutor.js:129:9)
at async DataSource.runMigrations (/app/node_modules/typeorm/data-source/DataSource.js:265:35)
at async Object.handler (/app/node_modules/typeorm/commands/MigrationRunCommand.js:68:13) {
query: 'CREATE TABLE "metadata"."_typeorm_migrations" ("id" SERIAL NOT NULL, "timestamp" bigint NOT NULL, "name" character varying NOT NULL, CONSTRAINT "PK_a6ff2a8e8bb563f3d15635efd01" PRIMARY KEY ("id"))',
3 replies