Using Database import/export in Prisma 1


#1

I know that Prisma 1 is a stateful application and that it stores certain metadata, some of which is also stored in the database of my choice which is MySQL. For example, Prisma has a migrations table which can come in handy from time to time.

Prisma has a built in export and import functionality in the CLI however if I wanted to use MySQL database export or import, should I also be mindful of the databases or tables that are related to prisma and not my stage or application data? Should I also export the migrations table? If I happen to import data that was exported via MySQL, will it work like normal? Or are there some Prisma metadata that are missing in the MySQL import leading to my Prisma instance being broken?