mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 16:30:01 +02:00
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:
parent
b28ca11e57
commit
863dcfa705
2 changed files with 0 additions and 2 deletions
|
@ -670,7 +670,6 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||||
let window = {
|
let window = {
|
||||||
uuid: gZenUIManager.generateUuidv4(),
|
uuid: gZenUIManager.generateUuidv4(),
|
||||||
default: isDefault,
|
default: isDefault,
|
||||||
used: true,
|
|
||||||
icon: icon,
|
icon: icon,
|
||||||
name: name,
|
name: name,
|
||||||
};
|
};
|
||||||
|
|
|
@ -18,7 +18,6 @@ var ZenWorkspacesStorage = {
|
||||||
position INTEGER NOT NULL DEFAULT 0,
|
position INTEGER NOT NULL DEFAULT 0,
|
||||||
created_at INTEGER NOT NULL,
|
created_at INTEGER NOT NULL,
|
||||||
updated_at INTEGER NOT NULL,
|
updated_at INTEGER NOT NULL,
|
||||||
used INTEGER NOT NULL DEFAULT 0
|
|
||||||
)
|
)
|
||||||
`);
|
`);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue