 );
 
 /* System Settings */
-create table "setting_values" (
+create table if not exists "setting_values" (
   "k" character varying(256) primary key,
   "v" character varying(4096) not null
 );

/* User */
create table "users" (
  "id" uuid primary key,
  "username" character varying(256),
  "prefs" character varying(4096) not null,

  "created" timestamp not null
);

drop index if exists "users_email_idx";
create unique index "users_email_idx" on "users" ("email");

drop index if exists "users_username_idx";
create unique index "users_username_idx" on "users" ("username");

create table if not exists "password_info" (
  "provider" varchar(64) not null,
  "key" varchar(2048) not null,
  "hasher" varchar(64) not null,
