mirror of
				https://github.com/dani-garcia/vaultwarden.git
				synced 2025-10-30 17:58:19 +02:00 
			
		
		
		
	Send API
This commit is contained in:
		
							
								
								
									
										1
									
								
								migrations/mysql/2021-03-11-190243_add_sends/down.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								migrations/mysql/2021-03-11-190243_add_sends/down.sql
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| DROP TABLE sends; | ||||
							
								
								
									
										25
									
								
								migrations/mysql/2021-03-11-190243_add_sends/up.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								migrations/mysql/2021-03-11-190243_add_sends/up.sql
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| CREATE TABLE sends ( | ||||
|   uuid              CHAR(36) NOT NULL   PRIMARY KEY, | ||||
|   user_uuid         CHAR(36)            REFERENCES users (uuid), | ||||
|   organization_uuid CHAR(36)            REFERENCES organizations (uuid), | ||||
|  | ||||
|   name              TEXT    NOT NULL, | ||||
|   notes             TEXT, | ||||
|  | ||||
|   atype             INTEGER NOT NULL, | ||||
|   data              TEXT    NOT NULL, | ||||
|   key               TEXT    NOT NULL, | ||||
|   password_hash     BLOB, | ||||
|   password_salt     BLOB, | ||||
|   password_iter     INTEGER, | ||||
|  | ||||
|   max_access_count  INTEGER, | ||||
|   access_count      INTEGER NOT NULL, | ||||
|  | ||||
|   creation_date     DATETIME NOT NULL, | ||||
|   revision_date     DATETIME NOT NULL, | ||||
|   expiration_date   DATETIME, | ||||
|   deletion_date     DATETIME NOT NULL, | ||||
|  | ||||
|   disabled          BOOLEAN NOT NULL | ||||
| ); | ||||
		Reference in New Issue
	
	Block a user