feat: possibilità di ingrandire gli elenchi delle pagine dashbaord, ticket e ticket a mio carico
This commit is contained in:
@@ -27,6 +27,20 @@ db.exec(`
|
||||
)
|
||||
`);
|
||||
|
||||
db.exec(`
|
||||
CREATE TABLE IF NOT EXISTS agent_settings (
|
||||
agent_id INTEGER PRIMARY KEY,
|
||||
preview_limit INTEGER NOT NULL DEFAULT 10,
|
||||
tickets_per_page INTEGER NOT NULL DEFAULT 50
|
||||
)
|
||||
`);
|
||||
|
||||
try {
|
||||
db.exec(`ALTER TABLE agent_settings ADD COLUMN tickets_per_page INTEGER NOT NULL DEFAULT 50`);
|
||||
} catch (e) {
|
||||
// Column already exists
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a UUID v7 (time-ordered).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user