Fixed typo and added new column to fediverse table
This commit is contained in:
pare
58dedcdafa
commit
59a94aeab2
S'han modificat 1 arxius amb 2 adicions i 2 eliminacions
|
@ -138,11 +138,11 @@ print("Creating table...")
|
||||||
db = fediverse_db
|
db = fediverse_db
|
||||||
db_user = fediverse_db_user
|
db_user = fediverse_db_user
|
||||||
table = "world"
|
table = "world"
|
||||||
sql = "create table "+table+" (server varchar(200) PRIMARY KEY, federated_with varchar(200), updated_at timestamptz), saved_at timestamptz"
|
sql = "create table "+table+" (server varchar(200) PRIMARY KEY, federated_with varchar(200), updated_at timestamptz, saved_at timestamptz)"
|
||||||
create_table(db, db_user, table, sql)
|
create_table(db, db_user, table, sql)
|
||||||
|
|
||||||
table = "fediverse"
|
table = "fediverse"
|
||||||
sql = "create table "+table+" (server varchar(200) PRIMARY KEY, users INT, updated_at timestamptz)"
|
sql = "create table "+table+" (server varchar(200) PRIMARY KEY, users INT, updated_at timestamptz, software varchar(15))"
|
||||||
create_table(db, db_user, table, sql)
|
create_table(db, db_user, table, sql)
|
||||||
|
|
||||||
table = "totals"
|
table = "totals"
|
||||||
|
|
Loading…
Referencia en una nova incidència