You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/**
* @Cycle\Entity()
*/
class Post
{
/**
* @Cycle\Column(type="primary")
*/
public int $id;
/**
* @Cycle\Relation\Embedded(target="Seo")
*/
public Seo $seo;
/**
* @Cycle\Column(type="primary")
*/
public DateTimeImmutable $createdAt;
}
/**
* @Embeddable(columnPrefix="seo_")
*/
class Seo
{
/**
* @Cycle\Column(type="string", name="title", nullable=true)
*/
public ?string $title;
/**
* @Cycle\Column(type="string", name="description", nullable=true)
*/
public ?string $description;
/**
* @Cycle\Column(type="string", name="keywords", nullable=true)
*/
public ?string $keywords;
}
Entities
Generated migration
What i want is that
created_at
should be generated afterSeo
columns, i.e. in this case afterseo_keywords
The text was updated successfully, but these errors were encountered: