Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: Modify Length of Existing String #6905

Closed
2 tasks done
leejustin opened this issue Oct 13, 2023 · 3 comments
Closed
2 tasks done

馃殌 Feature: Modify Length of Existing String #6905

leejustin opened this issue Oct 13, 2023 · 3 comments
Labels
product / databases Fixes and upgrades for the Appwrite Database.

Comments

@leejustin
Copy link

馃敄 Feature description

It would be very useful to have a mechanism to update the string length of a field that has already been created.

馃帳 Pitch

Having a table be put under a pending state is expected when you do a refactor on the length and I don't think it's a deal-breaker.

Having the onus on the user to define the string length means that we should be able to have flexibility in how we want to manage the data structure. Usage of a database column is not always perfectly scoped out and there are transformations for data as our applications grow over time. This is especially true when we use the column to store JSON blobs as many Appwrite supporters recommend doing for complex data.

The rigidity works fine for one-off projects but someone will be punished having an application grow over time and investing in Appwrite for larger projects. Instead, I now need to figure out a way to migrate all of the data into another newly-created field which is going to create downtime anyways.

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@nishitxmehta
Copy link

Hi @leejustin, can you please assign this issue to me?

@ItzNotABug
Copy link
Contributor

Is this same as #5458?

@stnguyen90
Copy link
Contributor

Instead, I now need to figure out a way to migrate all of the data into another newly-created field which is going to create downtime anyways.

Btw, to handle this in production, I would recommend a multi-phased approach to be able to handle apps using an old version of our app. Here are some resources:

For now, I'm going to close this a duplicate of #5458.

@stnguyen90 stnguyen90 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2023
@stnguyen90 stnguyen90 added the product / databases Fixes and upgrades for the Appwrite Database. label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

4 participants