Ver código fonte

added back to create __Auth table

version-14
Rushabh Mehta 12 anos atrás
pai
commit
312823b19d
1 arquivos alterados com 7 adições e 1 exclusões
  1. +7
    -1
      webnotes/install_lib/install.py

+ 7
- 1
webnotes/install_lib/install.py Ver arquivo

@@ -92,6 +92,7 @@ class Installer:

# update admin password
self.update_admin_password(password)
self.create_auth_table()
return target
def install_app(self):
@@ -159,4 +160,9 @@ class Installer:
"patch": patch
}).insert()
webnotes.conn.commit()

def create_auth_table(self):
webnotes.conn.sql("""create table if not exists __Auth (
`user` VARCHAR(180) NOT NULL PRIMARY KEY,
`password` VARCHAR(180) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8""")

Carregando…
Cancelar
Salvar