Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database error #667

Closed
BSombi opened this issue Jun 20, 2023 · 0 comments
Closed

Database error #667

BSombi opened this issue Jun 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@BSombi
Copy link

BSombi commented Jun 20, 2023

Description

Add some description...

Steps to Reproduce

Add steps to reproduce the error...

Info

Error: DatabaseError: SqliteError
failed migration
insert into PatchRun (created, createdBy, modified, modifiedBy, name) values ('2023-06-20T16:31:42.649Z', 'SYSTEM', '2023-06-20T16:31:42.649Z', 'SYSTEM', 'testPatch') - table PatchRun has no column named created

Stack:

SqliteError: failed migration
insert into `PatchRun` (`created`, `createdBy`, `modified`, `modifiedBy`, `name`) values ('2023-06-20T16:31:42.649Z', '__SYSTEM__', '2023-06-20T16:31:42.649Z', '__SYSTEM__', 'testPatch') - table PatchRun has no column named created
    at Database.prepare (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\better-sqlite3\lib\methods\wrappers.js:5:21)
    at Client_BetterSQLite3._query (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\knex\lib\dialects\better-sqlite3\index.js:30:34)
    at executeQuery (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\knex\lib\execution\internal\query-executioner.js:37:17)
    at Client_BetterSQLite3.query (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\knex\lib\client.js:146:12)
    at Runner.query (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\knex\lib\execution\runner.js:123:36)
    at ensureConnectionCallback (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\knex\lib\execution\internal\ensure-connection-callback.js:13:17)
    at Runner.ensureConnection (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\knex\lib\execution\runner.js:300:20)
    at async Runner.run (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\node_modules\knex\lib\execution\runner.js:30:19)
    at async $n.insert (C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\background.js:2:923895)
    at async C:\Users\Benjamin\AppData\Local\Temp\2QrpHqU0lLlkDDUHD8wy4NBRLvo\resources\app.asar\background.js:2:926761

Version: 0.16.0
Platform: win32
Path: /index.html
Language: undefined

@18alantom 18alantom added the bug Something isn't working label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants