Skip to content

Commit

Permalink
Chore: Remove unused migrations (#26102)
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Sampaio <chinello@gmail.com>
  • Loading branch information
debdutdeb and sampaiodiego committed Jul 12, 2022
1 parent 0880f1e commit 1c58b45
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 296 deletions.
9 changes: 1 addition & 8 deletions apps/meteor/server/startup/migrations/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
import './v233';
import './v234';
import './v235';
import './v236';
import './v237';
import './v238';
import './v239';
import './v240';
import './minimumVersion';
import './v241';
import './v242';
import './v243';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ addMigration({
'',
`It seems you're trying to upgrade from an unsupported version!`,
'',
'To be able to update to version 5.0.x you need to update to version 4.x first.',
'To be able to update to version 5.x.y you need to update to version 4.x first.',
'',
'Read more: https://go.rocket.chat/i/how-to-upgrade',
].join('\n'),
);
},
Expand Down
29 changes: 0 additions & 29 deletions apps/meteor/server/startup/migrations/v234.ts

This file was deleted.

44 changes: 0 additions & 44 deletions apps/meteor/server/startup/migrations/v235.ts

This file was deleted.

25 changes: 0 additions & 25 deletions apps/meteor/server/startup/migrations/v236.ts

This file was deleted.

117 changes: 0 additions & 117 deletions apps/meteor/server/startup/migrations/v237.ts

This file was deleted.

47 changes: 0 additions & 47 deletions apps/meteor/server/startup/migrations/v238.ts

This file was deleted.

15 changes: 0 additions & 15 deletions apps/meteor/server/startup/migrations/v239.ts

This file was deleted.

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

This file was deleted.

0 comments on commit 1c58b45

Please sign in to comment.