mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-01 02:17:53 +00:00
adding read only field
This commit is contained in:
@@ -788,7 +788,8 @@ func (dbobj dbcon) indexNewApp(appName string) {
|
|||||||
defer tx.Rollback()
|
defer tx.Rollback()
|
||||||
_, 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