@dbml/cli 3.13.1 → 3.13.2

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.
@@ -225,6 +225,12 @@ Table "dbo"."AddressInfo2" {
225
225
  "A4" dbo.CK_Address_Valid2_A4 [not null]
226
226
  }
227
227
 
228
+ Table "dbo"."TestDescriptionTable" {
229
+ "Id" int(10) [note: 'Primary key identifier.']
230
+ "Name" nvarchar(100) [note: 'Name of the entity.']
231
+ Note: 'This is the custom comment name on table.'
232
+ }
233
+
228
234
  Ref "FK_AuthorNationality":"dbo"."Authors".("AuthorID", "NationalityID") < "dbo"."Books".("AuthorID", "NationalityID")
229
235
 
230
236
  Ref "fk_product":"dbo"."products"."product_id" < "dbo"."order_items"."product_id" [update: cascade]
@@ -147,27 +147,27 @@ Table "dbo"."DatetimeTypes" {
147
147
 
148
148
  Table "dbo"."ObjectTypes" {
149
149
  "Id" int(10) [pk, not null, increment]
150
- "XmlField" xml [default: '''<Books>
151
- <Book>
152
- <Title>The Great Gatsby</Title>
153
- <Author>F. Scott Fitzgerald</Author>
154
- <Year>1925</Year>
155
- <Price>10.99</Price>
156
- <Publisher>Scribner</Publisher>
157
- <Location>New York</Location>
158
- <Genre>Fiction</Genre>
159
- <Subgenre>Classic</Subgenre>
160
- </Book>
161
- <Book>
162
- <Title>1984</Title>
163
- <Author>George Orwell</Author>
164
- <Year>1949</Year>
165
- <Price>8.99</Price>
166
- <Publisher>Secker & Warburg</Publisher>
167
- <Location>London</Location>
168
- <Genre>Dystopian</Genre>
169
- <Subgenre>Political Fiction</Subgenre>
170
- </Book>
150
+ "XmlField" xml [default: '''<Books>
151
+ <Book>
152
+ <Title>The Great Gatsby</Title>
153
+ <Author>F. Scott Fitzgerald</Author>
154
+ <Year>1925</Year>
155
+ <Price>10.99</Price>
156
+ <Publisher>Scribner</Publisher>
157
+ <Location>New York</Location>
158
+ <Genre>Fiction</Genre>
159
+ <Subgenre>Classic</Subgenre>
160
+ </Book>
161
+ <Book>
162
+ <Title>1984</Title>
163
+ <Author>George Orwell</Author>
164
+ <Year>1949</Year>
165
+ <Price>8.99</Price>
166
+ <Publisher>Secker & Warburg</Publisher>
167
+ <Location>London</Location>
168
+ <Genre>Dystopian</Genre>
169
+ <Subgenre>Political Fiction</Subgenre>
170
+ </Book>
171
171
  </Books>''']
172
172
  "JsonField" nvarchar(MAX) [default: `N'{"defaultKey": "defaultValue", "status": "active", "count": 0}'`]
173
173
  "BinaryField" binary(50) [default: `0x00`]
@@ -225,6 +225,12 @@ Table "dbo"."AddressInfo2" {
225
225
  "A4" dbo.CK_Address_Valid2_A4 [not null]
226
226
  }
227
227
 
228
+ Table "dbo"."TestDescriptionTable" {
229
+ "Id" int(10) [note: 'Primary key identifier.']
230
+ "Name" nvarchar(100) [note: 'Name of the entity.']
231
+ Note: 'This is the custom comment name on table.'
232
+ }
233
+
228
234
  Ref "FK_AuthorNationality":"dbo"."Authors".("AuthorID", "NationalityID") < "dbo"."Books".("AuthorID", "NationalityID")
229
235
 
230
236
  Ref "fk_product":"dbo"."products"."product_id" < "dbo"."order_items"."product_id" [update: cascade]
@@ -333,3 +333,28 @@ CREATE TABLE AddressInfo2 (
333
333
  )
334
334
  );
335
335
  GO
336
+
337
+ CREATE TABLE TestDescriptionTable (
338
+ Id INT,
339
+ Name NVARCHAR(100)
340
+ );
341
+
342
+ EXEC sp_addextendedproperty
343
+ @name = N'MS_Description_Table',
344
+ @value = N'This is the custom comment name on table.',
345
+ @level0type = N'SCHEMA', @level0name = 'dbo',
346
+ @level1type = N'TABLE', @level1name = 'TestDescriptionTable';
347
+
348
+ EXEC sp_addextendedproperty
349
+ @name = N'MS_Description_Column',
350
+ @value = N'Primary key identifier.',
351
+ @level0type = N'SCHEMA', @level0name = 'dbo',
352
+ @level1type = N'TABLE', @level1name = 'TestDescriptionTable',
353
+ @level2type = N'COLUMN', @level2name = 'Id';
354
+
355
+ EXEC sp_addextendedproperty
356
+ @name = N'MS_Description_Custom',
357
+ @value = N'Name of the entity.',
358
+ @level0type = N'SCHEMA', @level0name = 'dbo',
359
+ @level1type = N'TABLE', @level1name = 'TestDescriptionTable',
360
+ @level2type = N'COLUMN', @level2name = 'Name';
@@ -542,3 +542,9 @@ Error: connect ECONNREFUSED ::1:3306
542
542
  at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
543
543
  at Module.load (node:internal/modules/cjs/loader:1119:32)
544
544
 
545
+ 2025-04-29T03:02:02.637Z
546
+ undefined
547
+
548
+ 2025-04-29T03:03:26.533Z
549
+ undefined
550
+
@@ -345,3 +345,17 @@ Error: PostgreSQL connection error: error: password authentication failed for us
345
345
  at async fetchSchemaJson (/Users/huylm/code/dbx/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:415:20)
346
346
  at async connectionHandler (/Users/huylm/code/dbx/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
347
347
 
348
+ 2025-04-29T03:02:03.117Z
349
+ Error: PostgreSQL connection error: error: password authentication failed for user "dbml"
350
+ at getValidatedClient (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:21:19)
351
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
352
+ at async fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:415:20)
353
+ at async connectionHandler (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
354
+
355
+ 2025-04-29T03:03:27.019Z
356
+ Error: PostgreSQL connection error: error: password authentication failed for user "dbml"
357
+ at getValidatedClient (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:21:19)
358
+ at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
359
+ at async fetchSchemaJson (/Users/huylm/code/work/dbml/packages/dbml-connector/dist/connectors/postgresConnector.js:415:20)
360
+ at async connectionHandler (/Users/huylm/code/work/dbml/packages/dbml-cli/lib/cli/connector.js:24:24)
361
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbml/cli",
3
- "version": "3.13.1",
3
+ "version": "3.13.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "license": "Apache-2.0",
@@ -26,8 +26,8 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@babel/cli": "^7.21.0",
29
- "@dbml/connector": "^3.13.1",
30
- "@dbml/core": "^3.13.1",
29
+ "@dbml/connector": "^3.13.2",
30
+ "@dbml/core": "^3.13.2",
31
31
  "bluebird": "^3.5.5",
32
32
  "chalk": "^2.4.2",
33
33
  "commander": "^2.20.0",
@@ -55,7 +55,7 @@
55
55
  "^.+\\.js$": "babel-jest"
56
56
  }
57
57
  },
58
- "gitHead": "8baea3c6a612f433f188efd6df5d24d1d5e16f2c",
58
+ "gitHead": "f9be31a9b9b3b509183637dc2527f1be8c260add",
59
59
  "engines": {
60
60
  "node": ">=18"
61
61
  }