mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	feat(server/session): update database to hold session information
This commit is contained in:
		
							parent
							
								
									a3a1667351
								
							
						
					
					
						commit
						ec39667cba
					
				| @ -0,0 +1,5 @@ | ||||
| CREATE TABLE IF NOT EXISTS sessions ( | ||||
|     id TEXT PRIMARY KEY, | ||||
|     data TEXT, | ||||
|     expires INTEGER | ||||
| ); | ||||
| @ -187,3 +187,9 @@ CREATE TABLE IF NOT EXISTS "embedding_providers" ( | ||||
|     "dateModified" TEXT NOT NULL, | ||||
|     "utcDateModified" TEXT NOT NULL | ||||
| ); | ||||
| 
 | ||||
| CREATE TABLE IF NOT EXISTS sessions ( | ||||
|     id TEXT PRIMARY KEY, | ||||
|     data TEXT, | ||||
|     expires INTEGER | ||||
| ); | ||||
|  | ||||
| @ -3,7 +3,7 @@ import build from "./build.js"; | ||||
| import packageJson from "../../package.json" with { type: "json" }; | ||||
| import dataDir from "./data_dir.js"; | ||||
| 
 | ||||
| const APP_DB_VERSION = 230; | ||||
| const APP_DB_VERSION = 231; | ||||
| const SYNC_VERSION = 35; | ||||
| const CLIPPER_PROTOCOL_VERSION = "1.0"; | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran