{
    "name": "user_summaries",
    "columns": [
        "id",
        "username",
        "interval_type",
        "date",
        "summary",
        "last_updated"
    ],
    "schema": "CREATE TABLE \"user_summaries\" (\n\t`id` text PRIMARY KEY NOT NULL,\n\t`username` text,\n\t`interval_type` text DEFAULT 'day' NOT NULL CHECK(`interval_type` IN ('day', 'week', 'month', 'lifetime')),\n\t`date` text NOT NULL,\n\t`summary` text DEFAULT '',\n\t`last_updated` text DEFAULT CURRENT_TIMESTAMP NOT NULL,\n\tFOREIGN KEY (`username`) REFERENCES `users`(`username`) ON UPDATE no action ON DELETE no action\n)"
}