@ -11,10 +11,8 @@ use Doctrine\ORM\Mapping as ORM;
/**
* AccessUrlRelSession.
*
* @ORM\Table(name="access_url_rel_session",
* indexes={
* }))
* @ORM\Entity
* @ORM\Table(name="access_url_rel_session")
*/
class AccessUrlRelSession
{
@ -31,6 +31,7 @@ class Asset
public const WATERMARK = 'watermark';
public const CSS = 'css';
public const EXTRA_FIELD = 'ef';
public const COURSE_CATEGORY = 'course_category';
* @ORM\Id
@ -136,7 +136,7 @@ class CLpItem
* @Gedmo\TreeParent
* @ORM\ManyToOne(targetEntity="CLpItem", inversedBy="children", cascade="persist")
* @ORM\ManyToOne(targetEntity="CLpItem", inversedBy="children", cascade={"persist"})
* @ORM\JoinColumn(name="parent_item_id", referencedColumnName="iid", onDelete="SET NULL")
protected ?CLpItem $parent = null;
@ -14,8 +14,8 @@ use Doctrine\ORM\Mapping as ORM;
* @ORM\Table(
* name="c_role_permissions",
* @ORM\Index(name="course", columns="c_id"),
* @ORM\Index(name="role", columns="role_id")
* @ORM\Index(name="course", columns={"c_id"}),
* @ORM\Index(name="role", columns={"role_id"})
* }
* )