From: Kyle Hooks Date: Thu, 28 Oct 2021 14:50:03 +0000 (-0400) Subject: updating tables for usage in app 2 X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=638a668286eb843325db4daea5218e39778f548c;p=nutratech%2Fnt-sqlite.git updating tables for usage in app 2 --- diff --git a/sql/tables.sql b/sql/tables.sql index 2aebf12..97a29a9 100644 --- a/sql/tables.sql +++ b/sql/tables.sql @@ -14,24 +14,7 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -CREATE TABLE version( id integer PRIMARY KEY AUTOINCREMENT, version text NOT NULL, created date NOT NULL, notes text -); - --- TODO: enforce FK constraint across two DBs? --- ---------------------------------- --- Equations ---------------------------------- - -CREATE TABLE bmr_eqs ( - id integer PRIMARY KEY AUTOINCREMENT, - name text NOT NULL -); - -CREATE TABLE bf_eqs ( - id integer PRIMARY KEY AUTOINCREMENT, - name text NOT NULL -); +CREATE TABLE version( id integer PRIMARY KEY AUTOINCREMENT, version text NOT NULL, created date NOT NULL, notes text); -- --------------------------------