mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06: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