mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-02 02:48:05 +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 + ` (
|
||||
token STRING,
|
||||
md5 STRING,
|
||||
rofields STRING,
|
||||
data STRING,
|
||||
status STRING,
|
||||
` + "`when` int);")
|
||||
@@ -821,9 +822,10 @@ func initUsers(db *sql.DB) error {
|
||||
loginidx STRING,
|
||||
emailidx STRING,
|
||||
phoneidx STRING,
|
||||
rofields STRING,
|
||||
tempcodeexp int,
|
||||
tempcode int,
|
||||
data string
|
||||
data STRING
|
||||
);
|
||||
`)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user