Jaafari El Housseine
12/22/2020, 10:49 AM["java.lang.UnsupportedOperationException: empty.head\n\tat scala.collection.immutable.Vector.head(Vector.scala:185)\n\tat com.prisma.deploy.connector.mysql.database.MySqlJdbcDeployDatabaseMutationBuilder.$anonfun$deleteRelationColumn$1(MysqlJdbcDeployDatabaseMutationBuilder.scala:135)\n\tat slick.basic.BasicBackend$DatabaseDef.$anonfun$runInContextInline$1(BasicBackend.scala:172)\n\tat scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:303)\n\tat scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:37)\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)\n\tat akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:91)\n\tat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)\n\tat scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:81)\n\tat akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:91)\n\tat akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)\n\tat akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:44)\n\tat akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)\n\tat akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)\n\tat akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)\n\tat akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)\n"]
Prisma 1.34 fails to run a migration. I tried all I can and still same issue. I don’t want to drop tables & re-build from scratch againRyan
12/22/2020, 12:22 PMJaafari El Housseine
12/22/2020, 12:23 PMRyan
12/22/2020, 1:56 PMJaafari El Housseine
12/22/2020, 1:58 PMJaafari El Housseine
03/02/2021, 5:49 PM