]> git.ktnx.net Git - mobile-ledger.git/commitdiff
SQL: table for storing connection profiles
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 6 Jan 2019 07:55:44 +0000 (07:55 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 6 Jan 2019 07:55:44 +0000 (07:55 +0000)
app/src/main/res/raw/sql_11.sql [new file with mode: 0644]

diff --git a/app/src/main/res/raw/sql_11.sql b/app/src/main/res/raw/sql_11.sql
new file mode 100644 (file)
index 0000000..356aa16
--- /dev/null
@@ -0,0 +1,2 @@
+create table profiles(uuid varchar not null primary key, name not null, url not null, use_authentication boolean not null, auth_user varchar, auth_password varchar);
+create unique index un_profile_name on profiles(name);
\ No newline at end of file