mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
1be356af93
* feat: profile showcase preferences basic impl (squashed) * feat: save preferences in batch for profile showcase * chore: add validation for profile showcase settings request and fix migration order
14 lines
440 B
SQL
14 lines
440 B
SQL
CREATE TABLE IF NOT EXISTS profile_showcase_preferences (
|
|
id TEXT PRIMARY KEY ON CONFLICT REPLACE,
|
|
entry_type INT NOT NULL DEFAULT 0,
|
|
visibility INT NOT NULL DEFAULT 0,
|
|
sort_order INT NOT NULL DEFAULT 0
|
|
);
|
|
|
|
CREATE TABLE IF NOT EXISTS profile_showcase_contacts (
|
|
contact_id TEXT PRIMARY KEY ON CONFLICT REPLACE,
|
|
entry_id TEXT NOT NULL,
|
|
entry_type INT NOT NULL DEFAULT 0,
|
|
entry_order INT NOT NULL DEFAULT 0
|
|
);
|