FtheBuilder
FtheBuilder

Reputation: 1437

Yesod - Persistent - getting migrations sql instructions

I am using persistent-odbc, and would like to know how to get the SQL instructions to run manually the create table instructions, instead of automatically doing the migrations.

Upvotes: 0

Views: 206

Answers (1)

Sibi
Sibi

Reputation: 48664

You can use printMigration to see what migrations you have to manually run. Just replace the runMigration function with printMigration and it should do the job.

Upvotes: 2

Related Questions