From a516ff4d0c83f0dc707fc88a0955ea3fe95b5dd1 Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Sun, 8 Feb 2026 17:06:45 +0000 Subject: [PATCH] fix(db): correct SQL comment syntax for SQLite compatibility - Replace Python-style # comments with SQL-standard -- comments - SQLite does not recognize # as comment character - Fixes database initialization failure on first run Test: Database now initializes successfully. --- core/schema.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/schema.sql b/core/schema.sql index 0758cb1..1a64e51 100644 --- a/core/schema.sql +++ b/core/schema.sql @@ -1,7 +1,7 @@ -# Description: SQLite database schema for Lemontropia Suite -# Implements the Data Principle: Every session is a Project -# Schema version: 1.0.0 -# Created: 2026-02-08 +-- Description: SQLite database schema for Lemontropia Suite +-- Implements the Data Principle: Every session is a Project +-- Schema version: 1.0.0 +-- Created: 2026-02-08 -- Enable foreign key support PRAGMA foreign_keys = ON;