mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +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:
1 parent
fb71d1823b
commit
6b8a45ab21
1 file changed
+2
-1
@@ -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