mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-12 07:40:30 -08:00
With this update a new chat history definition is added on a per room bases which allows operators to specify the number of chat messages to store and present to the user on join. Please see the sample ini for room definitions.
7 lines
261 B
SQL
7 lines
261 B
SQL
-- Servatrice db migration from version 8 to version 9
|
|
|
|
alter table cockatrice_rooms add chat_history_size int(4) not null after join_message;
|
|
update cockatrice_rooms set chat_history_size = 100;
|
|
|
|
UPDATE cockatrice_schema_version SET version=9 WHERE version=8;
|