Docker で立ち上げたDBコンテナにマイグレーションコマンドを投げたところ失敗してしまい、コンテナがクラッシュするようになってしまいました。 docker compose up -d npx prisma migrate dev Environment variables loaded from .env Prisma schema loaded from schema.prisma Datasource "db": MySQL database "sampledb" at "127.0.0.1:3306" - The migration `2023010100000_` failed. - Drift detected: Your database schema is not in sync with your migration history. The following is
![[小ネタ]Docker コンテナをボリュームごと削除する | DevelopersIO](https://cdn-ak-scissors.b.st-hatena.com/image/square/21c0f155d089f08e4cdedf5a0e63a4959826f2a3/height=288;version=1;width=512/https%3A%2F%2Fdevio2023-media.developers.io%2Fwp-content%2Fuploads%2F2019%2F05%2Fdocker-eyecatch.png)