Merge branch 'feat-add-messaging-collections-in-config' into feat-target-controllers-account-user

This commit is contained in:
prateek banga 2023-08-16 20:29:19 +05:30
commit 455176d077

View file

@ -1245,17 +1245,6 @@ $commonCollections = [
'$id' => ID::custom('providers'),
'name' => 'Providers',
'attributes' => [
[
'$id' => ID::custom('id'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => Database::LENGTH_KEY,
'signed' => true,
'required' => true,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('name'),
'type' => Database::VAR_STRING,
@ -1302,13 +1291,6 @@ $commonCollections = [
]
],
'indexes' => [
[
'$id' => ID::custom('_key_id'),
'type' => Database::INDEX_UNIQUE,
'attributes' => ['id'],
'lengths' => [128],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => ID::custom('_key_provider'),
'type' => Database::INDEX_KEY,
@ -1331,17 +1313,6 @@ $commonCollections = [
'$id' => ID::custom('messages'),
'name' => 'Messages',
'attributes' => [
[
'$id' => ID::custom('id'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => Database::LENGTH_KEY,
'signed' => true,
'required' => true,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('providerId'),
'type' => Database::VAR_STRING,
@ -1454,13 +1425,6 @@ $commonCollections = [
],
],
'indexes' => [
[
'$id' => ID::custom('_key_id'),
'type' => Database::INDEX_UNIQUE,
'attributes' => ['id'],
'lengths' => [128],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => ID::custom('_key_providerId'),
'type' => Database::INDEX_KEY,
@ -1490,17 +1454,6 @@ $commonCollections = [
'$id' => ID::custom('topics'),
'name' => 'Topics',
'attributes' => [
[
'$id' => ID::custom('id'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => Database::LENGTH_KEY,
'signed' => true,
'required' => true,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('providerId'),
'type' => Database::VAR_STRING,
@ -1547,13 +1500,6 @@ $commonCollections = [
],
],
'indexes' => [
[
'$id' => ID::custom('_key_id'),
'type' => Database::INDEX_UNIQUE,
'attributes' => ['id'],
'lengths' => [128],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => ID::custom('_key_providerId'),
'type' => Database::INDEX_KEY,
@ -1590,17 +1536,6 @@ $commonCollections = [
'$id' => ID::custom('subscribers'),
'name' => 'Subscribers',
'attributes' => [
[
'$id' => ID::custom('id'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => Database::LENGTH_KEY,
'signed' => true,
'required' => true,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('userId'),
'type' => Database::VAR_STRING,
@ -1669,13 +1604,6 @@ $commonCollections = [
],
],
'indexes' => [
[
'$id' => ID::custom('_key_id'),
'type' => Database::INDEX_UNIQUE,
'attributes' => ['id'],
'lengths' => [128],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => ID::custom('_key_userId'),
'type' => Database::INDEX_KEY,
@ -1726,17 +1654,6 @@ $commonCollections = [
'$id' => ID::custom('targets'),
'name' => 'Targets',
'attributes' => [
[
'$id' => ID::custom('id'),
'type' => Database::VAR_STRING,
'format' => '',
'size' => Database::LENGTH_KEY,
'signed' => true,
'required' => true,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => ID::custom('userId'),
'type' => Database::VAR_STRING,
@ -1805,13 +1722,6 @@ $commonCollections = [
],
],
'indexes' => [
[
'$id' => ID::custom('_key_id'),
'type' => Database::INDEX_UNIQUE,
'attributes' => ['id'],
'lengths' => [128],
'orders' => [Database::ORDER_ASC],
],
[
'$id' => ID::custom('_key_userId'),
'type' => Database::INDEX_KEY,