From bef4404b29ae76245c7e42b94cc43da2f8df7150 Mon Sep 17 00:00:00 2001 From: Michael Heap Date: Mon, 5 Feb 2024 10:54:22 +0000 Subject: [PATCH] Remove NOT NULL constaint from all tables for sync (#204) --- packages/cache/CHANGELOG.md | 6 ++++++ packages/cache/package.json | 2 +- packages/cache/src/setup.ts | 2 +- packages/trello-cli/CHANGELOG.md | 7 +++++++ packages/trello-cli/package.json | 2 +- 5 files changed, 16 insertions(+), 3 deletions(-) diff --git a/packages/cache/CHANGELOG.md b/packages/cache/CHANGELOG.md index 3f80ad0..acef61c 100644 --- a/packages/cache/CHANGELOG.md +++ b/packages/cache/CHANGELOG.md @@ -1,5 +1,11 @@ # @trello-cli/cache +## 1.0.3 + +### Patch Changes + +- Remove NOT NULL constraint from all fields + ## 1.0.2 ### Patch Changes diff --git a/packages/cache/package.json b/packages/cache/package.json index 35b680f..20834e6 100644 --- a/packages/cache/package.json +++ b/packages/cache/package.json @@ -1,6 +1,6 @@ { "name": "@trello-cli/cache", - "version": "1.0.2", + "version": "1.0.3", "description": "", "publishConfig": { "access": "public" diff --git a/packages/cache/src/setup.ts b/packages/cache/src/setup.ts index 8d504ae..b079335 100644 --- a/packages/cache/src/setup.ts +++ b/packages/cache/src/setup.ts @@ -57,7 +57,7 @@ export default class { if (name == "id") { pKey = "PRIMARY KEY"; } - columns.push(`${name} ${type} NOT NULL ${pKey}`); + columns.push(`${name} ${type} ${pKey}`); }); sql = `${sql} (${columns.join(", ")})`; diff --git a/packages/trello-cli/CHANGELOG.md b/packages/trello-cli/CHANGELOG.md index e27182f..703359e 100644 --- a/packages/trello-cli/CHANGELOG.md +++ b/packages/trello-cli/CHANGELOG.md @@ -1,5 +1,12 @@ # @trello-cli/cli +## 1.0.7 + +### Patch Changes + +- Updated dependencies + - @trello-cli/cache@1.0.3 + ## 1.0.6 ### Patch Changes diff --git a/packages/trello-cli/package.json b/packages/trello-cli/package.json index 7e86763..b8ef58b 100644 --- a/packages/trello-cli/package.json +++ b/packages/trello-cli/package.json @@ -1,6 +1,6 @@ { "name": "trello-cli", - "version": "1.0.6", + "version": "1.0.7", "description": "Access your Trello account using the CLI", "author": "Michael Heap ", "publishConfig": {