Skip to content

Commit 2f3603b

Browse files
committed
Remove pre-v5 SQL migration files (2016-2020)
These migrations upgraded the schema from v1.x/v2.x/v3.x to v4.x, but they fail on v4.x installations where the schema is already up to date (e.g. RENAME host → imap_host fails when imap_host already exists). Since v1.x-v3.x are discontinued, only the v4.x → v5.x migration (2026021000.sql) is needed. Fresh installs use initial.sql directly.
1 parent 71cb058 commit 2f3603b

17 files changed

Lines changed: 6 additions & 315 deletions

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ Database migrations are applied automatically by the Roundcube plugin installer.
162162

163163
If you are upgrading from `boressoft/ident_switch`, `toteph42/identity_switch`, or another fork:
164164

165+
> **Important:** This version (5.x) requires a **v4.x database schema** as its starting point. If you are running v1.x–v3.x, you must first upgrade to v4.x (`boressoft/ident_switch`) before migrating to this fork. This applies to all supported databases (MySQL, PostgreSQL, SQLite).
166+
165167
### With Composer
166168

167169
1. Replace the old package in `composer.json` with `gecka/roundcube-ident_switch` and run `composer update`
@@ -202,7 +204,7 @@ Original code by Boris Gulay licensed under GPL-3.0+. New contributions licensed
202204
- **Boris Gulay** — Original developer (2016–2022)
203205
- **Christian Landvogt** — Special folders support
204206
- **Gergely Papp** — Bug fixes
205-
- **Laurent Dinclaux - Gecka** — Current maintainer ([Gecka](https://gecka.nc))
207+
- **Laurent Dinclaux** — Current maintainer ([Gecka](https://gecka.nc))
206208

207209
---
208210

SQL/mysql/2016060200.sql

Lines changed: 0 additions & 5 deletions
This file was deleted.

SQL/mysql/2018071600.sql

Lines changed: 0 additions & 6 deletions
This file was deleted.

SQL/mysql/2018121800.sql

Lines changed: 0 additions & 29 deletions
This file was deleted.

SQL/mysql/2019112000.sql

Lines changed: 0 additions & 5 deletions
This file was deleted.

SQL/mysql/2019121300.sql

Lines changed: 0 additions & 14 deletions
This file was deleted.

SQL/mysql/2020060100.sql

Lines changed: 0 additions & 7 deletions
This file was deleted.

SQL/postgres/2016052000.sql

Lines changed: 0 additions & 11 deletions
This file was deleted.

SQL/postgres/2016060200.sql

Lines changed: 0 additions & 5 deletions
This file was deleted.

SQL/postgres/2018081600.sql

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)