2005-09-06 19:52:46 +02:00
|
|
|
import psql
|
|
|
|
|
|
|
|
def clear():
|
|
|
|
try:
|
|
|
|
psql.drop_table("users")
|
|
|
|
except:
|
|
|
|
pass
|
|
|
|
|
|
|
|
def create():
|
2005-09-12 15:51:18 +02:00
|
|
|
#psql.create_goban_table("gast","gast2",9)
|
2005-09-06 19:52:46 +02:00
|
|
|
psql.create_user_table()
|
|
|
|
psql.add_webgo_user("gast","gast")
|
|
|
|
psql.add_webgo_user("gast2","gast2")
|
|
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
clear()
|
|
|
|
create()
|
|
|
|
|
|
|
|
|
|
|
|
|