]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/raw/create_db.sql
add flag to accounts indicating whether their commodity list is expanded
[mobile-ledger.git] / app / src / main / res / raw / create_db.sql
index 7095b1783311657c93a402e3c9f7ac82b99720db..fd2e43e143da5ea97b444b85e19e032d21496bf6 100644 (file)
@@ -1,4 +1,4 @@
-create table accounts(profile varchar not null, name varchar not null, name_upper varchar not null, hidden boolean not null default 0, keep boolean not null default 0, level integer not null, parent_name varchar, expanded default 1);
+create table accounts(profile varchar not null, name varchar not null, name_upper varchar not null, hidden boolean not null default 0, keep boolean not null default 0, level integer not null, parent_name varchar, expanded default 1, amounts_expanded boolean default 0);
 create unique index un_accounts on accounts(profile, name);
 create table options(profile varchar not null, name varchar not null, value varchar);
 create unique index un_options on options(profile,name);