[ENTITY][Note] Added function getRenderedSplit, return an array of paragraphs/line breaks

[PLUGINS][Favourite] Foreign keys now properly defined on schema

[CARDS][Note] Note text is now hidden by default if too many paragraphs/line breaks are present, BlogCollection plugin will certainly need this feature
This commit is contained in:
2022-02-04 16:03:49 +00:00
parent fb76775716
commit 4dd976eb22
5 changed files with 51 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ class AttachmentCollection extends Entity
public static function schemaDef()
{
return [
'name' => 'collection',
'name' => 'attachment_collection',
'fields' => [
'id' => ['type' => 'serial', 'not null' => true, 'description' => 'unique identifier'],
'name' => ['type' => 'varchar', 'length' => 255, 'not null' => true, 'description' => 'collection\'s name'],