22 lines
No EOL
276 B
Python
Executable file
22 lines
No EOL
276 B
Python
Executable file
import psql
|
|
|
|
|
|
def clear():
|
|
try:
|
|
psql.drop_table("users")
|
|
except:
|
|
pass
|
|
|
|
def create():
|
|
#psql.create_goban_table("gast","gast2",9)
|
|
psql.create_user_table()
|
|
psql.add_webgo_user("gast","gast")
|
|
psql.add_webgo_user("gast2","gast2")
|
|
|
|
|
|
def main():
|
|
clear()
|
|
create()
|
|
|
|
|
|
|