<table><tr><td style="">dvratil added a comment.
</td></tr></table><br /><div><div><p>I would call it <strong>[CollectionAttributeTypeTable]</strong> to keep consistency with the other tables :)</p>

<p>I'm not sure what you mean by "<em>does each <strong>[ResourceTable]</strong> get its own</em>" - there's only one <strong>[ResourceTable]</strong> - if you are asking if each Resource in the <strong>[ResourceTable]</strong> gets it's own "domain" then no, all Resources share the same table space.</p>

<p>Btw:</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">akonadi=# select encode(type::bytea, 'escape') as type, count(*) from collectionattributetable group by type;
            type            | count
----------------------------+-------
 noselect                   |   196
 favorite                   |     3
 ENTITYDISPLAY              |   103
 uidvalidity                |   194
 highestmodseq              |   186
 KAlarmCollection           |     3
 collectionquota            |   194
 ctag                       |    10
 SpecialCollectionAttribute |     8
 uidnext                    |   194
 KAlarmCompatibility        |     3
 imapquota                  |   194
 PERSISTENTSEARCH           |     2
 AccessRights               |   860
 BlockAlarmsAttribute       |    95
 imapacl                    |   188
 davprotocol                |    10
 collectionidentification   |   818
 collectionflags            |   194
 newmailnotifierattribute   |   690
 collectioncolor            |    32
 collectionannotations      |   747
(22 rows)

akonadi=# select count(*) from collectionattributetable;
 count 
-------
  4924</pre></div>

<p>Notice how consistent we are in naming the attributes ;-)</p></div></div><br /><div><strong>TASK DETAIL</strong><div><a href="https://phabricator.kde.org/T7846" rel="noreferrer">https://phabricator.kde.org/T7846</a></div></div><br /><div><strong>To: </strong>pablo, dvratil<br /><strong>Cc: </strong>knauss, dvratil, kde-pim, pablo<br /></div>