CREATE TABLE IF NOT EXISTS habit_trackings
(
    id         INTEGER PRIMARY KEY AUTOINCREMENT,
    habit_id    INTEGER,
    times      INTEGER NOT NULL,
    created_at TEXT NOT NULL,
    FOREIGN KEY (habit_id) REFERENCES habits(id)
);