mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
update: query for migrations.
Excludes the backup and restorations from migrations list under project settings in the migrations tab.
This commit is contained in:
@@ -8,7 +8,8 @@ export async function load({ depends }) {
|
||||
try {
|
||||
const { migrations } = await sdk.forProject.migrations.list([
|
||||
// hides backups/restorations from migrations page.
|
||||
Query.equal('source', ['Firebase', 'NHost', 'Supabase'])
|
||||
Query.notEquals('source', 'Backup'),
|
||||
Query.notEquals('destination', 'Backup')
|
||||
]);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user