Skip to content

Commit 2541ae7

Browse files
Fix remote api key schema (#83)
* fix: add remote_api_key column to initial database schema * chore: bump version to 1.3.1 - fix database schema bug
1 parent 6e497c8 commit 2541ae7

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ build/
88
misc/
99

1010
# Ignore specific backend files
11-
backend/data/*.db
12-
backend/data/*.json
13-
backend/data/*.md
11+
backend/data/*
1412

1513
# Test results and API testing artifacts
1614
backend/api-tests/

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to portracker will be documented in this file.
44

5+
## [1.3.1] - 2026-02-03
6+
7+
### Fixed
8+
9+
- **Database Schema**: Fixed missing `remote_api_key` column in initial database creation that caused "no such column" errors for fresh installations (resolves #82)
10+
511
## [1.3.0] - 2026-02-02
612

713
**Highlights**

backend/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ if (!tableExists) {
3636
unreachable INTEGER DEFAULT 0,
3737
api_key TEXT,
3838
api_key_created_at TEXT,
39+
remote_api_key TEXT,
3940
FOREIGN KEY (parentId) REFERENCES servers(id)
4041
);
4142

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "backend",
3-
"version": "1.2.0",
3+
"version": "1.3.1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "portracker",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "A multi-platform port-tracking dashboard",
55
"main": "backend/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)