mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-06 23:33:13 +08:00
Added simple way to resolve domains from entity manager when creating a short URL
This commit is contained in:
@@ -64,4 +64,5 @@ $builder->createManyToMany('tags', Entity\Tag::class)
|
||||
|
||||
$builder->createManyToOne('domain', Entity\Domain::class)
|
||||
->addJoinColumn('domain_id', 'id', true, false, 'RESTRICT')
|
||||
->cascadePersist()
|
||||
->build();
|
||||
|
||||
Reference in New Issue
Block a user