tomaskarlik / conventions
Set static conventions settings.
v1.0
2018-05-04 13:49 UTC
Requires
- php: >=5.6
- nette/database: ^2.4
- nette/di: ^2.4
This package is not auto-updated.
Last update: 2024-11-14 17:19:31 UTC
README
Install
Download package
composer require tomaskarlik/conventions
Register extension in config.neon
extensions:
conventions: TomasKarlik\Conventions\DI\Extension
conventions:
my_view1: primary_key1
my_view2: primary_key2
table: key_name
database:
conventions: @TomasKarlik\Conventions\Conventions
Other tables use Nette\Database\Conventions\DiscoveredConventions