diff --git a/ChangeLog b/ChangeLog index afe3f9ee..7d9662bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24227,3 +24227,6 @@ 'RDSystem::setMaxPostLength()' methods. * Removed the 'Maximum Remote Post Length' control from the 'System-Wide Settings' dialog in rdadmin(1). +2023-06-09 Fred Gleason + * Dropped the 'SYSTEM.MAX_POST_LENGTH' field from the database. + * Incremented the database version to 370. diff --git a/docs/tables/system.txt b/docs/tables/system.txt index 9a97d9af..92032d00 100644 --- a/docs/tables/system.txt +++ b/docs/tables/system.txt @@ -9,7 +9,6 @@ REALM_NAME varchar(64) SAMPLE_RATE int(10) unsigned DUP_CART_TITLE enum('N','Y') FIX_DUP_CART_TITLES enum('N','Y') -MAX_POST_LENGTH int(10) unsigned ISCI_XREFERENCE_PATH varchar(191) TEMP_CART_GROUP varchar(10) From 'GROUPS.NAME' SHOW_USER_LIST enum('N','Y') diff --git a/lib/dbversion.h b/lib/dbversion.h index 01aef2ad..dffea80e 100644 --- a/lib/dbversion.h +++ b/lib/dbversion.h @@ -24,7 +24,7 @@ /* * Current Database Version */ -#define RD_VERSION_DATABASE 369 +#define RD_VERSION_DATABASE 370 #endif // DBVERSION_H diff --git a/utils/rddbmgr/revertschema.cpp b/utils/rddbmgr/revertschema.cpp index d42fcd2e..25644296 100644 --- a/utils/rddbmgr/revertschema.cpp +++ b/utils/rddbmgr/revertschema.cpp @@ -41,6 +41,20 @@ bool MainObject::RevertSchema(int cur_schema,int set_schema,QString *err_msg) // NEW SCHEMA REVERSIONS GO HERE... + // + // Revert 370 + // + if((cur_schema==370)&&(set_schemacur_schema)) { + DropColumn("SYSTEM","MAX_POST_LENGTH"); + + WriteSchemaVersion(++cur_schema); + } + // NEW SCHEMA UPDATES GO HERE...