Skip to content

Commit

Permalink
refactor: rename column to id so our crud store works
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Jan 25, 2024
1 parent e816042 commit 20d7ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migrations/20240125084701-add-user-trends.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports.up = function(db, cb) {
db.runSql(
`
CREATE TABLE IF NOT EXISTS user_trends (
week_id VARCHAR(255) PRIMARY KEY,
id VARCHAR(255) PRIMARY KEY,
total_users INTEGER NOT NULL,
active_users INTEGER NOT NULL,
created_at TIMESTAMP default now()
Expand Down

0 comments on commit 20d7ecb

Please sign in to comment.