mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-11 22:07:08 +03:00
feat(database): add isBookmarkSyncActivated
This commit is contained in:
parent
b9376bad0f
commit
2965ce4696
@ -125,11 +125,7 @@ const addIsFilterSidebarCollapsedToUsersTable = db.schema.table("users", functio
|
||||
});
|
||||
|
||||
const addExtensionColumnsToUsersTable = db.schema.table("users", function (table) {
|
||||
table.boolean("isRecentViewActivated").defaultTo(false);
|
||||
table.boolean("isFilesViewActivated").defaultTo(false);
|
||||
table.boolean("hasCompletedExtensionOBFirstStep").defaultTo(false);
|
||||
table.boolean("hasCompletedExtensionOBSecondStep").defaultTo(false);
|
||||
table.boolean("hasCompletedExtensionOBThirdStep").defaultTo(false);
|
||||
table.boolean("isBookmarkSyncActivated").defaultTo(false);
|
||||
});
|
||||
|
||||
// Promise.all([
|
||||
|
@ -52,10 +52,18 @@ const createUsersTable = createTableIfNotExists("users", function (table) {
|
||||
table.integer("followerCount").notNullable().defaultTo(0);
|
||||
table.integer("slateCount").notNullable().defaultTo(0);
|
||||
table.integer("authVersion").notNullable().defaultTo(2);
|
||||
|
||||
table.boolean("hasCompletedSurvey").defaultTo(false);
|
||||
table.boolean("hasCompletedUploadOnboarding").defaultTo(false);
|
||||
table.boolean("hasCompletedSlatesOnboarding").defaultTo(false);
|
||||
table.boolean("isFilterSidebarCollapsed").defaultTo(false);
|
||||
|
||||
table.boolean("isRecentViewActivated").defaultTo(false);
|
||||
table.boolean("isFilesViewActivated").defaultTo(false);
|
||||
table.boolean("isBookmarkSyncActivated").defaultTo(false);
|
||||
table.boolean("hasCompletedExtensionOBFirstStep").defaultTo(false);
|
||||
table.boolean("hasCompletedExtensionOBSecondStep").defaultTo(false);
|
||||
table.boolean("hasCompletedExtensionOBThirdStep").defaultTo(false);
|
||||
});
|
||||
|
||||
const createSlatesTable = createTableIfNotExists("slates", function (table) {
|
||||
|
Loading…
Reference in New Issue
Block a user