diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-03-28 11:29:19 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-04-01 21:32:02 +0200 |
commit | 164bd801188245942ca996eda75d7a554f29746a (patch) | |
tree | 6e4892446a97f9a2b38a781ca09154da93a82646 /app | |
parent | 1a93ee423b072ec3bcb0c437cbf9b488bdea245c (diff) | |
download | wallabag-164bd801188245942ca996eda75d7a554f29746a.tar.gz wallabag-164bd801188245942ca996eda75d7a554f29746a.tar.zst wallabag-164bd801188245942ca996eda75d7a554f29746a.zip |
Ability to prefix tables
Will fix #799
Diffstat (limited to 'app')
-rw-r--r-- | app/config/config.yml | 5 | ||||
-rw-r--r-- | app/config/parameters.yml.dist | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 367aa276..0807b06a 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -75,7 +75,10 @@ doctrine: | |||
75 | 75 | ||
76 | orm: | 76 | orm: |
77 | auto_generate_proxy_classes: "%kernel.debug%" | 77 | auto_generate_proxy_classes: "%kernel.debug%" |
78 | auto_mapping: true | 78 | entity_managers: |
79 | default: | ||
80 | naming_strategy: wallabag_core.doctrine.prefixed_naming_strategy | ||
81 | auto_mapping: true | ||
79 | 82 | ||
80 | # Swiftmailer Configuration | 83 | # Swiftmailer Configuration |
81 | swiftmailer: | 84 | swiftmailer: |
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 73318013..f80f65ad 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist | |||
@@ -7,6 +7,7 @@ parameters: | |||
7 | database_user: root | 7 | database_user: root |
8 | database_password: ~ | 8 | database_password: ~ |
9 | database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite" | 9 | database_path: "%kernel.root_dir%/../data/db/wallabag.sqlite" |
10 | database_table_prefix: wallabag_ | ||
10 | 11 | ||
11 | mailer_transport: smtp | 12 | mailer_transport: smtp |
12 | mailer_host: 127.0.0.1 | 13 | mailer_host: 127.0.0.1 |