Basic database layout
This commit is contained in:
		
							parent
							
								
									e85fa7b21c
								
							
						
					
					
						commit
						29561fb202
					
				
							
								
								
									
										4
									
								
								db/readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								db/readme.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
# Database Schema Layout and Design
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										12
									
								
								db/tables.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								db/tables.sql
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
			
		||||
CREATE TABLE IF NOT EXISTS users (
 | 
			
		||||
	id INTEGER,
 | 
			
		||||
	name VARCHAR(256),
 | 
			
		||||
	PRIMARY KEY (id)
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
CREATE TABLE IF NOT EXISTS invites (
 | 
			
		||||
	id BIGINT,
 | 
			
		||||
	expires INTEGER,
 | 
			
		||||
	PRIMARY KEY (id)
 | 
			
		||||
);
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user