From a6fdafc68203b66d1373c087ea362f76d8222459 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Fri, 3 Nov 2017 10:42:28 +0100
Subject: [PATCH] #12 Add structure and skip tables to Drush 9 config file

---
 templates/drush.yml.twig | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/templates/drush.yml.twig b/templates/drush.yml.twig
index 19436a9..0553e3a 100644
--- a/templates/drush.yml.twig
+++ b/templates/drush.yml.twig
@@ -9,11 +9,11 @@ command:
     options:
       structure-tables:
         common:
-          - 'cache'
-          - 'cache_*'
-          - 'history'
-          - 'search_*'
-          - 'sessions'
-          - 'watchdog'
+{% for table in drush.sql.tables.structure %}
+          - '{{ table }}'
+{% endfor %}
       skip-tables:
-        common: []
+        common:
+{% for table in drush.sql.tables.skip %}
+          - '{{ table }}'
+{% endfor %}
-- 
GitLab