Skip to content

Update V19 Update Migrations for 1.4.x - #6001

Merged
abnegate merged 25 commits into
feat-git-integrationfrom
feat-git-integration-update-migration
Aug 22, 2023
Merged

abnegate merged 25 commits into
feat-git-integrationfrom
feat-git-integration-update-migration

Conversation

@stnguyen90

@stnguyen90 stnguyen90 commented Aug 16, 2023 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Update the migrations used to update from Appwrite 1.3.8 to 1.4.0.

Note
This is dependent on a new utopia-php/database version that includes utopia-php/database#311

Test Plan

I manually tested upgrading a small local 1.3.8 to 1.4.0 and things seemed to work:

image image

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

These updates make use of the PDO to manually execute a SQL statement,
but the PDO is not available in the new migration platform task. So
that we can move forward with the release, we will skip these updates
and then figure it out in a subsequent release.
@stnguyen90
stnguyen90 force-pushed the feat-git-integration-update-migration branch from 8a57b05 to ccd8c86 Compare August 18, 2023 00:17
@stnguyen90
stnguyen90 force-pushed the feat-git-integration-update-migration branch 3 times, most recently from 570af5b to 2bb5d7b Compare August 18, 2023 21:05
@stnguyen90 stnguyen90 changed the title Feat git integration update migration Update V19 Update Migrations for 1.4.x Aug 18, 2023
@stnguyen90
stnguyen90 marked this pull request as ready for review August 18, 2023 22:17
@stnguyen90

Copy link
Copy Markdown
Contributor Author

I backed up our demo instance, transferred it locally, and tried to run the migration, but it failed:

image

@stnguyen90
stnguyen90 force-pushed the feat-git-integration-update-migration branch from 2bb5d7b to 7dd788d Compare August 21, 2023 18:37
These updates make use of the PDO to manually execute a SQL statement,
but the PDO is not available in the new migration platform task. So
that we can move forward with the release, we will skip these updates
and then figure it out in a subsequent release.
We won't releasing the usage changes this release because the migrations
would be too big/complex.
@stnguyen90
stnguyen90 force-pushed the feat-git-integration-update-migration branch from 7dd788d to 7e6eb59 Compare August 22, 2023 00:12
@stnguyen90

Copy link
Copy Markdown
Contributor Author

I was able to run the migration against our demo instance without getting any warnings or errors:

image

@stnguyen90
stnguyen90 requested a review from Meldiron August 22, 2023 00:15
@abnegate
abnegate merged commit d7655bc into feat-git-integration Aug 22, 2023
@stnguyen90
stnguyen90 deleted the feat-git-integration-update-migration branch September 10, 2023 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants