Skip to content

Commit 0099336

Browse files
authored
Fix an incorrect link in doc/fork/Database specifications.md
1 parent ef64ea2 commit 0099336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/fork/Database specifications.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Most of old columns kept their names.
197197

198198
`is_quit` column was renamed to `is_not_full`, as in non-racing modes (and probably soon in racing too) it's possible to leave and join the game at any time, and so the value in this column shows whether a player wasn't playing the whole game.
199199

200-
[This script](tools/generate-ip-mappings.py) allows you to generate the SQL statements for all of your tables. The generated SQL statements will rename 2 columns, add 17 columns, and modify default value for 9 columns (by creating a duplicate column with a new default value). They will also do a few other changes, described in the next section, so that the database suits the new fields completely. The statements generated by the script were tested on a real database, but please **backup** the database anyway.
200+
[This script](../../tools/update_database_v2_to_v3.py) allows you to generate the SQL statements for all of your tables. The generated SQL statements will rename 2 columns, add 17 columns, and modify default value for 9 columns (by creating a duplicate column with a new default value). They will also do a few other changes, described in the next section, so that the database suits the new fields completely. The statements generated by the script were tested on a real database, but please **backup** the database anyway.
201201

202202
To run the script, you'll have to **delete** beforehand and **recreate** afterwards all your indices and views related to `_results` tables. (You would probably want to customize them in any case, as there are new fields). To do that, first run the following query:
203203
```sql

0 commit comments

Comments
 (0)