agrs-sequelize-sdk 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/index.js +0 -18
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -72,22 +72,4 @@ class DBModels {
72
72
  }
73
73
  }
74
74
 
75
- const config = {
76
- username: 'avnadmin',
77
- password: 'AVNS_nRgOZOZ4v1We_KncNYr',
78
- database: 'defaultdb',
79
- host: 'pg-7f50792-dev-7212.l.aivencloud.com',
80
- port: 28333, // Replace with the appropriate port for your database
81
- dialect: 'postgres', // Replace with your dialect (e.g., 'postgres', 'mysql')
82
- };
83
-
84
- (async () => {
85
- // Initialize Sequelize models and apply any pending migrations (if included in your SDK)
86
- const Db = new DBModels(config);
87
- const db = Db.db;
88
- // Example usage of the models
89
- console.log(db);
90
-
91
- })();
92
-
93
75
  module.exports = DBModels;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agrs-sequelize-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "start": "node index.js",