mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
feat: rename tags to deployments in collections.old.php
This commit is contained in:
parent
6d3c522834
commit
9d2e452779
2 changed files with 8 additions and 8 deletions
|
|
@ -1322,8 +1322,8 @@ $collections = [
|
|||
],
|
||||
[
|
||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||
'label' => 'Tag',
|
||||
'key' => 'tag',
|
||||
'label' => 'Deployment',
|
||||
'key' => 'deployment',
|
||||
'type' => Database::SYSTEM_VAR_TYPE_KEY,
|
||||
'default' => '',
|
||||
'required' => false,
|
||||
|
|
@ -1386,11 +1386,11 @@ $collections = [
|
|||
],
|
||||
],
|
||||
],
|
||||
Database::SYSTEM_COLLECTION_TAGS => [
|
||||
Database::SYSTEM_COLLECTION_DEPLOYMENTS => [
|
||||
'$collection' => Database::SYSTEM_COLLECTION_COLLECTIONS,
|
||||
'$id' => Database::SYSTEM_COLLECTION_TAGS,
|
||||
'$id' => Database::SYSTEM_COLLECTION_DEPLOYMENTS,
|
||||
'$permissions' => ['read' => ['role:all']],
|
||||
'name' => 'Tags',
|
||||
'name' => 'Deployments',
|
||||
'structure' => true,
|
||||
'rules' => [
|
||||
[
|
||||
|
|
@ -1467,8 +1467,8 @@ $collections = [
|
|||
],
|
||||
[
|
||||
'$collection' => Database::SYSTEM_COLLECTION_RULES,
|
||||
'label' => 'Tag ID',
|
||||
'key' => 'tagId',
|
||||
'label' => 'Deployment ID',
|
||||
'key' => 'deploymentId',
|
||||
'type' => Database::SYSTEM_VAR_TYPE_KEY,
|
||||
'default' => '',
|
||||
'required' => false,
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class Database
|
|||
|
||||
// Functions
|
||||
const SYSTEM_COLLECTION_FUNCTIONS = 'functions';
|
||||
const SYSTEM_COLLECTION_TAGS = 'tags';
|
||||
const SYSTEM_COLLECTION_DEPLOYMENTS = 'deployments';
|
||||
const SYSTEM_COLLECTION_EXECUTIONS = 'executions';
|
||||
|
||||
// Realtime
|
||||
|
|
|
|||
Loading…
Reference in a new issue