Skip to content

Commit

Permalink
change message error and remove from 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Oct 17, 2024
1 parent 061743d commit fdb7b53
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 344 deletions.
11 changes: 0 additions & 11 deletions apps/meteor/server/startup/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
import './minimumVersion';
import './v282';
import './v283';
import './v284';
import './v285';
import './v286';
import './v287';
import './v288';
import './v289';
import './v290';
import './v291';
import './v292';
import './v293';
import './v294';
import './v295';
Expand Down
8 changes: 4 additions & 4 deletions apps/meteor/server/startup/migrations/minimumVersion.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { addMigration } from '../../lib/migrations';

// this was the first migration added on version 4.0, so if this needs to run,
// it means the server was never updated to 4.x, which is not supported.
// this was the first migration added on version 6.0, so if this needs to run,
// it means the server was never updated to 6.x, which is not supported.
addMigration({
version: 233,
version: 292,
up() {
throw new Error(
[
'UPGRADE NOT SUPPORTED!',
'',
`It seems you're trying to upgrade from an unsupported version!`,
'',
'To be able to update to version 5.x.y you need to update to version 4.x first.',
'To be able to update to version 7.x.y you need to update to version 6.x first.',
'',
'Read more: https://go.rocket.chat/i/how-to-upgrade',
].join('\n'),
Expand Down
20 changes: 0 additions & 20 deletions apps/meteor/server/startup/migrations/v282.ts

This file was deleted.

49 changes: 0 additions & 49 deletions apps/meteor/server/startup/migrations/v283.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/meteor/server/startup/migrations/v284.ts

This file was deleted.

10 changes: 0 additions & 10 deletions apps/meteor/server/startup/migrations/v285.ts

This file was deleted.

9 changes: 0 additions & 9 deletions apps/meteor/server/startup/migrations/v286.ts

This file was deleted.

63 changes: 0 additions & 63 deletions apps/meteor/server/startup/migrations/v287.ts

This file was deleted.

9 changes: 0 additions & 9 deletions apps/meteor/server/startup/migrations/v288.ts

This file was deleted.

22 changes: 0 additions & 22 deletions apps/meteor/server/startup/migrations/v289.ts

This file was deleted.

62 changes: 0 additions & 62 deletions apps/meteor/server/startup/migrations/v290.ts

This file was deleted.

39 changes: 0 additions & 39 deletions apps/meteor/server/startup/migrations/v291.ts

This file was deleted.

36 changes: 0 additions & 36 deletions apps/meteor/server/startup/migrations/v292.ts

This file was deleted.

0 comments on commit fdb7b53

Please sign in to comment.