mirror of
				https://github.com/optim-enterprises-bv/databunker.git
				synced 2025-10-31 18:07:47 +00:00 
			
		
		
		
	adding read only field
This commit is contained in:
		| @@ -789,6 +789,7 @@ func (dbobj dbcon) indexNewApp(appName string) { | |||||||
| 		_, err = tx.Exec("CREATE TABLE IF NOT EXISTS " + appName + ` ( | 		_, err = tx.Exec("CREATE TABLE IF NOT EXISTS " + appName + ` ( | ||||||
| 	  		token STRING, | 	  		token STRING, | ||||||
| 			md5 STRING, | 			md5 STRING, | ||||||
|  | 			rofields STRING, | ||||||
| 	  		data STRING, | 	  		data STRING, | ||||||
| 	  		status STRING, | 	  		status STRING, | ||||||
| 	  		` + "`when` int);") | 	  		` + "`when` int);") | ||||||
| @@ -821,9 +822,10 @@ func initUsers(db *sql.DB) error { | |||||||
| 	  loginidx STRING, | 	  loginidx STRING, | ||||||
| 	  emailidx STRING, | 	  emailidx STRING, | ||||||
| 	  phoneidx STRING, | 	  phoneidx STRING, | ||||||
|  | 	  rofields STRING, | ||||||
| 	  tempcodeexp int, | 	  tempcodeexp int, | ||||||
| 	  tempcode int, | 	  tempcode int, | ||||||
| 	  data string | 	  data STRING | ||||||
| 	); | 	); | ||||||
| 	`) | 	`) | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 stremovsky
					stremovsky