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

Add validation on exists database before created #1759

Closed
ghost opened this issue Feb 24, 2019 · 1 comment
Closed

Add validation on exists database before created #1759

ghost opened this issue Feb 24, 2019 · 1 comment
Milestone

Comments

@ghost
Copy link

ghost commented Feb 24, 2019

CodeIgniter don't content any methods of checking of database exists.
Please add validation on exists database before created to Forge Class by default:

protected $createDatabaseStr = 'CREATE DATABASE IF NOT EXISTS %s';
@lonnieezell
Copy link
Member

You're right, it currently doesn't, and never has if memory serves correctly. I think this is a good addition, but not going to happen until after 4.0 final, since we've hit a feature freeze until release.

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

1 participant