Skip to content
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

Console command to create settings #14

Open
dkisselev opened this issue Aug 20, 2014 · 3 comments
Open

Console command to create settings #14

dkisselev opened this issue Aug 20, 2014 · 3 comments

Comments

@dkisselev
Copy link

I understand the reasoning behind not making it 'easy' to create settings, since you shouldn't need to unless you're developing and have access to the code/db, but I think a console command to create settings would be a pretty good middle ground between a full ui (pointless) and busting out a SQL/database editor (or fiddling around with writing a good query in a migration).

The console command could also generate the doctrine migration to insert the new setting for you when you deploy.

Thoughts?

@craue
Copy link
Owner

craue commented Aug 22, 2014

Writing an SQL statement to insert one or several rows (probably with initial values) shouldn't be such a difficult task for a developer. 😏

@enl
Copy link
Contributor

enl commented Feb 14, 2015

@craue, I think idea to generate migration for settings insert is quite good: it will be executed by deployment scripts automatically.

@craue
Copy link
Owner

craue commented Feb 17, 2015

@enl: Feel free to contribute. I won't have time to add such feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants