0

The documentation on the Code Migration section states how to perform such migration but it doesn't say where do you put this code, or if there's something else to do to make it work.

2
  • I think it's pretty clear, it has file structure, files should be in src/main/sqdelight/migrations/1.sqm , commonMain instead of main for kotlin multiplatform, and then run Database.Schema.migrate as stated by the doc Commented Mar 26 at 10:22
  • I agree, sq and sqm files are pretty obvious. But, how do you run Database.Schema.migrate? Commented Mar 26 at 10:49

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.