From a60213eacebd3a62ba776485c095d0055a536f3b Mon Sep 17 00:00:00 2001 From: nek0 Date: Mon, 12 Oct 2015 02:44:59 +0200 Subject: [PATCH] updated Readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 88d6855..7f778ec 100755 --- a/README.md +++ b/README.md @@ -44,6 +44,8 @@ For better control You can wrap an init script around this. How to do this is de * Delete column `alt_time` from table `avatar` in your Database with `alter table "avatar" drop column "alt_time";` * Start yammat normally to fill database with dummy data and stop it again -* Compile migration script with `cabal build Migrate1` -* Run migration executable from `dist/build/Migrate1/Migrate1` +* Run migration script + * if you have built yammat with a sandbox, run `runghc -package-db/full/path/to/sandbox(XXX-ghc-version-packages.conf.d /path/to/yammat/Migration/0.0.0-0.0.1/Migration.hs` + * Note: No space between the option `-package-db` and its argument + * without sandbox: `runghc /path/to/yammat/Migration/0.0.0-0.0.1/Migration.hs` * Enjoy your freshly migrated Matemat