Error: DatabaseError: SqliteError
alter table Item add column suplierPartNo text not null - Cannot add a NOT NULL column with default value NULL
Stack:
SqliteError: alter table `Item` add column `suplierPartNo` text not null - Cannot add a NOT NULL column with default value NULL
at Client_BetterSQLite3._query (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\dialects\better-sqlite3\index.js:34:40)
at executeQuery (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\internal\query-executioner.js:37:17)
at Client_BetterSQLite3.query (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\client.js:146:12)
at Runner.query (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:123:36)
at Runner.queryArray (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:217:21)
at ensureConnectionCallback (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\internal\ensure-connection-callback.js:11:19)
at Runner.ensureConnection (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:300:20)
at Runner.run (C:\Program Files\Frappe Books\resources\app.asar\node_modules\knex\lib\execution\runner.js:30:19)
at DatabaseCore.
Description
Add some description...
Steps to Reproduce
Add steps to reproduce the error...
Info
Error: DatabaseError: SqliteError alter table
Item
add columnsuplierPartNo
text not null - Cannot add a NOT NULL column with default value NULLStack: