Having standards migration script is helpful. For example something like same script to apply for multiple DB - each DB for one tenant
// migrations/001-add-phone-to-students.ts export async function up(databases: AppwriteDatabases) { await databases.updateCollection('students', { addFields: [{ name: 'phone', type: 'string', required: false }] }); }
Exmaple something like this nut should be auto with appwrite cli
Recommended threads
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...
- Upsert with setting permissions
Hi there, I am using self-hosted appwrite v1.7.4 and trying to use the bulk update stuff that was released with 1.7.x. Unfortunally I found that there is an ser...
- Function deployment failed: Unable to re...
Hi Appwrite team, I have been experiencing persistent errors when i attempt to push my appwrite functions. The logs on the deployment detail page on the console...