forked from waifu/kemoverse
		
	Merge pull request 'fix: initialize last_seen_notif_id in db.py' (#29) from nyanide/kemoverse:cool_fix into dev
Looking sharp, thanks Reviewed-on: waifu/kemoverse#29
This commit is contained in:
		
						commit
						0690ac5212
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								db.py
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								db.py
									
										
									
									
									
								
							|  | @ -41,6 +41,9 @@ cursor.execute(""" | |||
|         ) | ||||
|     """) | ||||
| 
 | ||||
| # Initialize essential config key | ||||
| cursor.execute('INSERT INTO config VALUES ("last_seen_notif_id", 0)') | ||||
| 
 | ||||
| """ # Insert example characters into the database if they don't already exist | ||||
| characters = [ | ||||
|     ('Murakami-san', 1, 0.35), | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue