Compare commits

..

No commits in common. "70c9a3fbdfc64fff274c331ff95be0f65e317420" and "43cc84700824170cacc9b71abe785ee1dfcffb5c" have entirely different histories.

7 changed files with 1 additions and 13 deletions

View File

@ -1,2 +0,0 @@
INSERT INTO users (name, email, password, created_at, updated_at)
VALUES ('Jan Blodhein', 'dubistdumm@icloud.com', 'a36c101570cc4410993de5385ad7034adb2dae6a05139ac7672577803084634d', '23:00', '23:00');

View File

@ -1,2 +0,0 @@
INSERT INTO users (name, email, password, created_at, updated_at)
VALUES ('Nikolaus MikeyMouse', 'Nordpol@icloud.com', 'a36c101570cc4410993de5385ad7034adb2dae6a05139ac7672577803084634d', '23:00', '23:00');

View File

@ -1,2 +0,0 @@
INSERT INTO habits (user_id, name, note, times, unit, slot, created_at, updated_at)
VALUES ('1', 'Sport', '10x Liegestutze', '1', '1', '1', '23:00', '23:00');

View File

@ -1,2 +0,0 @@
INSERT INTO habits (user_id, name, note, times, unit, slot, created_at, updated_at)
VALUES ('1', 'Sport', '10x Klimmzuge', '1', '1', '3', '23:00', '23:00');

View File

@ -1,2 +0,0 @@
INSERT INTO habits (user_id, name, note, times, unit, slot, created_at, updated_at)
VALUES ('1', 'Essen', '1x Gemüse', '1', '2', '2', '23:00', '23:00');

View File

@ -1,2 +0,0 @@
INSERT INTO habits (user_id, name, note, times, unit, slot, created_at, updated_at)
VALUES ('2', 'Sport', '10x Liegestutze', '1', '1', '2', '23:00', '23:00');

View File

@ -34,4 +34,4 @@ class Habit:
for habit in raw_habits: for habit in raw_habits:
habit = Habit(habit[0], habit[1], habit[2], habit[3], habit[4], habit[5], habit[6]) habit = Habit(habit[0], habit[1], habit[2], habit[3], habit[4], habit[5], habit[6])
habits.append(habit) habits.append(habit)
return habits if habits else None return habits if habits else None