Skip to content

Commit

Permalink
Release 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jellesiderius committed May 20, 2022
1 parent 7028675 commit 9c59a9b
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 15 deletions.
6 changes: 2 additions & 4 deletions config/databases/production.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"domainFolder": "example1.io",
"port": "2222",
"externalProjectFolder": "",
"externalPhpPath": "",
"localProjectUrl": "example1.development"
"externalPhpPath": ""
},
"username-2-placeholder": {
"username": "example2",
Expand All @@ -17,8 +16,7 @@
"domainFolder": "example2.io",
"port": "2222",
"externalProjectFolder": "",
"externalPhpPath": "",
"localProjectUrl": "example2.development"
"externalPhpPath": ""
}
}
}
4 changes: 0 additions & 4 deletions dist/models/databasesModel.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/models/databasesModel.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sw-db-sync",
"version": "0.1.3",
"version": "0.1.4",
"description": "Database synchronizer for Shopware 6",
"author": {
"name": "Jelle Siderius"
Expand Down
4 changes: 0 additions & 4 deletions src/models/databasesModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class DatabasesModel {
'externalProjectFolder': '',
'wordpress': false,
'externalPhpPath': '',
'localProjectUrl': ''
};

// Collect databases | collect single database
Expand All @@ -38,14 +37,11 @@ class DatabasesModel {
this.databaseData.domainFolder = database.domainFolder;
// @ts-ignore
this.databaseData.port = database.port;
this.databaseData.localProjectFolder = database.localProjectFolder;
this.databaseData.externalProjectFolder = database.externalProjectFolder;
// @ts-ignore
this.databaseData.wordpress = database.wordpress;
// @ts-ignore
this.databaseData.externalPhpPath = database.externalPhpPath
// @ts-ignore
this.databaseData.localProjectUrl = database.localProjectUrl
} else {
// Collect all database
this.databasesList.push(`${database.domainFolder} / ${database.username} (${key})`);
Expand Down

0 comments on commit 9c59a9b

Please sign in to comment.