duckdb 0.3.5-dev375.0 → 0.3.5-dev378.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.3.5-dev375.0",
4
+ "version": "0.3.5-dev378.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -3273,6 +3273,9 @@ unique_ptr<CatalogEntry> TableCatalogEntry::AddColumn(ClientContext &context, Ad
3273
3273
  for (idx_t i = 0; i < columns.size(); i++) {
3274
3274
  create_info->columns.push_back(columns[i].Copy());
3275
3275
  }
3276
+ for (auto &constraint : constraints) {
3277
+ create_info->constraints.push_back(constraint->Copy());
3278
+ }
3276
3279
  Binder::BindLogicalType(context, info.new_column.type, schema->name);
3277
3280
  info.new_column.oid = columns.size();
3278
3281
  create_info->columns.push_back(info.new_column.Copy());
package/src/duckdb.hpp CHANGED
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
13
  #define DUCKDB_AMALGAMATION_EXTENDED 1
14
- #define DUCKDB_SOURCE_ID "466b702e7"
15
- #define DUCKDB_VERSION "v0.3.5-dev375"
14
+ #define DUCKDB_SOURCE_ID "8008cf64a"
15
+ #define DUCKDB_VERSION "v0.3.5-dev378"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //