mirror of
				https://git.asonix.dog/asonix/relay.git
				synced 2025-10-30 21:12:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			312 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			312 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
| -- Your SQL goes here
 | |
| CREATE TABLE settings (
 | |
|     id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
 | |
|     key TEXT UNIQUE NOT NULL,
 | |
|     value TEXT NOT NULL,
 | |
|     created_at TIMESTAMP NOT NULL,
 | |
|     updated_at TIMESTAMP
 | |
| );
 | |
| 
 | |
| CREATE INDEX settings_key_index ON settings(key);
 | |
| 
 | |
| SELECT diesel_manage_updated_at('settings');
 | 
