Skip to content

Commit

Permalink
Remove NOT NULL constaint from all tables for sync (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
mheap authored Feb 5, 2024
1 parent b22de60 commit bef4404
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/cache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @trello-cli/cache

## 1.0.3

### Patch Changes

- Remove NOT NULL constraint from all fields

## 1.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trello-cli/cache",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(", ")})`;

Expand Down
7 changes: 7 additions & 0 deletions packages/trello-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/trello-cli/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"publishConfig": {
Expand Down

0 comments on commit bef4404

Please sign in to comment.