From b02c5e4e27904e188059146f5eaa4d30b83c2ba3 Mon Sep 17 00:00:00 2001 From: sojki Date: Thu, 19 Feb 2015 19:55:36 +0100 Subject: [PATCH] Import SQL from file example --- MySQL-plugin.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/MySQL-plugin.md b/MySQL-plugin.md index cbeeb32..ecab3d9 100644 --- a/MySQL-plugin.md +++ b/MySQL-plugin.md @@ -16,4 +16,14 @@ setup: complete: mysql: - "DROP DATABASE my_app_test;" +``` + +Import SQL from file: +```yaml +setup: + mysql: + import-from-file: # This key name doesn´t matter + import: + database: "foo" # Database name + file: "/path/dump.sql" # Relative path in build folder ``` \ No newline at end of file