]> Nutra Git (v2) - nutratech/nt-sqlite.git/commitdiff
updating tables for usage in app 2
authorKyle Hooks <Kyle.Hooks@LUXinteractive.com>
Thu, 28 Oct 2021 14:50:03 +0000 (10:50 -0400)
committerKyle Hooks <Kyle.Hooks@LUXinteractive.com>
Thu, 28 Oct 2021 14:50:03 +0000 (10:50 -0400)
sql/tables.sql

index 2aebf1282ff603a5b9a5ad55126b7db6d89ff73d..97a29a90ca9dd2b778a8dc532dea0c88a9345783 100644 (file)
 -- You should have received a copy of the GNU General Public License
 -- along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
-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);
 
 --
 --------------------------------