Skip to content

Fix sample sqlite database path in doctrine config #7263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2016

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Dec 14, 2016

I think sqlite databases should be stored in var/ as it is storage.
About the %kernel.data_dir% removed here, I never heard about such a parameter in the core, either I missed it or it's very old.
Please tell me if we should first change it on lower branches, replacing it by %kernel.root_dir%/app/data/data.sqlite.

See also symfony/symfony-standard#1032 on the same topic

@xabbuh
Copy link
Member

xabbuh commented Dec 15, 2016

👍

Can you also create another PR for Symfony 2.7 where this points to %kernel.root_dir%/data/data.sqlite?

@chalasr
Copy link
Member Author

chalasr commented Dec 15, 2016

@xabbuh See #7267

xabbuh added a commit that referenced this pull request Dec 15, 2016
…sr, javiereguiluz)

This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7267).

Discussion
----------

Fix sample sqlite database path in doctrine config

Port of #7263 for 2.7

Commits
-------

048579b %kernel.root_dir%/app/data/data.sqlite -> %kernel.root_dir%/data/data.sqlite
e1115e5 Fix sample sqlite database path in doctrine config
@xabbuh
Copy link
Member

xabbuh commented Dec 15, 2016

Thank you @chalasr.

@xabbuh xabbuh merged commit 9126fdf into symfony:3.1 Dec 15, 2016
xabbuh added a commit that referenced this pull request Dec 15, 2016
This PR was merged into the 3.1 branch.

Discussion
----------

Fix sample sqlite database path in doctrine config

I think sqlite databases should be stored in `var/` as it is storage.
About the `%kernel.data_dir%` removed here, I never heard about such a parameter in the core, either I missed it or it's very old.
Please tell me if we should first change it on lower branches, replacing it by `%kernel.root_dir%/app/data/data.sqlite`.

See also symfony/symfony-standard#1032 on the same topic

Commits
-------

9126fdf Fix sample sqlite database path in doctrine config
@chalasr chalasr deleted the fix/sqlite-db-path branch December 15, 2016 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants