Luca448 commited on
Commit
ed12ec7
·
1 Parent(s): c72f6c6

Savestate: Fix syntax error in database.js

Browse files
Files changed (2) hide show
  1. index.html +1 -1
  2. src/db/database.js +1 -0
index.html CHANGED
@@ -74,7 +74,7 @@
74
  </head>
75
  <body class="dark-theme in-chat-view">
76
 
77
- <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.241</div>
78
 
79
  <!-- SVG Filters for Liquid Glass Refraction -->
80
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
 
74
  </head>
75
  <body class="dark-theme in-chat-view">
76
 
77
+ <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.242</div>
78
 
79
  <!-- SVG Filters for Liquid Glass Refraction -->
80
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
src/db/database.js CHANGED
@@ -200,6 +200,7 @@ class Database {
200
  updated_at TEXT,
201
  FOREIGN KEY(deck_id) REFERENCES flashcard_decks(id) ON DELETE CASCADE
202
  );
 
203
  const statements = schema.split(';').filter(s => s.trim().length > 0);
204
  for (const stmt of statements) {
205
  try {
 
200
  updated_at TEXT,
201
  FOREIGN KEY(deck_id) REFERENCES flashcard_decks(id) ON DELETE CASCADE
202
  );
203
+ `;
204
  const statements = schema.split(';').filter(s => s.trim().length > 0);
205
  for (const stmt of statements) {
206
  try {