Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
user TEXT instead of STRING types
  • Loading branch information
stremovsky committed Jan 27, 2020
1 parent 75fbbd8 commit cefb46a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/qldb.go
Expand Up @@ -808,7 +808,7 @@ func (dbobj dbcon) indexNewApp(appName string) {
token STRING,
md5 STRING,
rofields STRING,
data STRING,
data TEXT,
status STRING,
` + "`when` int);")
if err != nil {
Expand Down Expand Up @@ -843,7 +843,7 @@ func initUsers(db *sql.DB) error {
rofields STRING,
tempcodeexp int,
tempcode int,
data STRING
data TEXT
);
`)
if err != nil {
Expand Down Expand Up @@ -953,8 +953,8 @@ func initAudit(db *sql.DB) error {
status STRING,
msg STRING,
debug STRING,
before STRING,
after STRING,
before TEXT,
after TEXT,
` + "`when` int);")
if err != nil {
return err
Expand Down Expand Up @@ -1056,7 +1056,7 @@ func initSessions(db *sql.DB) error {
CREATE TABLE IF NOT EXISTS sessions (
token STRING,
session STRING,
data STRING,
data TEXT,
endtime int,
` + "`when` int);")
if err != nil {
Expand Down

0 comments on commit cefb46a

Please sign in to comment.