mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: fix table replacewith methods
This commit is contained in:
@@ -63,7 +63,7 @@ class Create extends Action
|
||||
],
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'replaceWith' => 'tables.createTable',
|
||||
'replaceWith' => 'tables.create',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
||||
@@ -53,7 +53,7 @@ class Delete extends Action
|
||||
],
|
||||
contentType: ContentType::NONE,
|
||||
deprecated: [
|
||||
'replaceWith' => 'tables.deleteTable',
|
||||
'replaceWith' => 'tables.delete',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
||||
@@ -48,7 +48,7 @@ class Get extends Action
|
||||
],
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'replaceWith' => 'tables.getTable',
|
||||
'replaceWith' => 'tables.get',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
||||
@@ -56,7 +56,7 @@ class Update extends Action
|
||||
],
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'replaceWith' => 'tables.updateTable',
|
||||
'replaceWith' => 'tables.update',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
||||
@@ -55,7 +55,7 @@ class XList extends Action
|
||||
],
|
||||
contentType: ContentType::JSON,
|
||||
deprecated: [
|
||||
'replaceWith' => 'tables.listTables',
|
||||
'replaceWith' => 'tables.list',
|
||||
],
|
||||
))
|
||||
->param('databaseId', '', new UID(), 'Database ID.')
|
||||
|
||||
Reference in New Issue
Block a user