@verdnatura/myt 1.5.11 → 1.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/myt-dump.js CHANGED
@@ -24,9 +24,9 @@ class Dump extends Command {
24
24
  '--default-character-set=utf8',
25
25
  '--no-data',
26
26
  '--comments',
27
- '--triggers',
28
27
  '--routines',
29
28
  '--events',
29
+ '--skip-triggers',
30
30
  '--databases'
31
31
  ];
32
32
  dumpArgs = dumpArgs.concat(opts.schemas);
package/myt-push.js CHANGED
@@ -146,12 +146,16 @@ class Push extends Command {
146
146
  return /\.undo\.sql$/.test(script);
147
147
  }
148
148
 
149
+ const skipFiles = new Set([
150
+ 'README.md',
151
+ '.archive'
152
+ ]);
153
+
149
154
  if (await fs.pathExists(versionsDir)) {
150
155
  const versionDirs = await fs.readdir(versionsDir);
151
156
 
152
157
  for (const versionDir of versionDirs) {
153
- if (versionDir == 'README.md')
154
- continue;
158
+ if (skipFiles.has(versionDir)) continue;
155
159
 
156
160
  const dirVersion = myt.parseVersionDir(versionDir);
157
161
  if (!dirVersion) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdnatura/myt",
3
- "version": "1.5.11",
3
+ "version": "1.5.13",
4
4
  "author": "Verdnatura Levante SL",
5
5
  "description": "MySQL version control",
6
6
  "license": "GPL-3.0",