feat(workspaces): remove unused used field from workspaces

This commit removes the `used` field from the Workspaces database table and Zen Workspace objects.

The `used` field was originally intended to track whether a workspace was currently being used, but it turned out to be unnecessary. This change simplifies the data model and removes redundant information.
This commit is contained in:
Kristijan Ribarić 2024-10-05 20:16:20 +02:00
parent b28ca11e57
commit 863dcfa705
2 changed files with 0 additions and 2 deletions

View file

@ -670,7 +670,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
let window = {
uuid: gZenUIManager.generateUuidv4(),
default: isDefault,
used: true,
icon: icon,
name: name,
};

View file

@ -18,7 +18,6 @@ var ZenWorkspacesStorage = {
position INTEGER NOT NULL DEFAULT 0,
created_at INTEGER NOT NULL,
updated_at INTEGER NOT NULL,
used INTEGER NOT NULL DEFAULT 0
)
`);