Updated files to work better with SQLite

This commit is contained in:
Patrick McDonagh
2016-03-23 17:28:31 -05:00
parent 9263221273
commit 34d4655245
3 changed files with 163 additions and 128 deletions

View File

@@ -40,7 +40,8 @@ CREATE TABLE IF NOT EXISTS Well_Test (
api_gravity_oil REAL,
sg_oil REAL,
sg_water REAL,
test_hours REAL
test_hours REAL,
deleted INTEGER DEFAULT 0
);
CREATE TABLE IF NOT EXISTS config (
@@ -76,9 +77,11 @@ INSERT INTO note_types (id, type) VALUES ('4', 'Other');
CREATE TABLE IF NOT EXISTS fluid_shot(
id INTEGER PRIMARY KEY,
shot_datetime TIMESTAMP,
taken_by TEXT,
pump_intake_pressure REAL,
fluid_gradient REAL,
friction REAL
friction REAL,
deleted INTEGER DEFAULT 0
);
CREATE TABLE IF NOT EXISTS card_history(