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

fix drop function adding database perfix two times #1033

Merged
merged 1 commit into from
May 8, 2022

Conversation

pfndesign
Copy link

@pfndesign pfndesign commented Jan 26, 2022

drop function is was applying prefix two times
example :

    $database = new Medoo([
    	...
    	"prefix" => "WP_"
    ]);
     
    $database->debug()->drop("account");

// output

DROP TABLE IF EXISTS `WP_WP_account`

@catfan catfan merged commit 62fdb93 into catfan:master May 8, 2022
catfan pushed a commit that referenced this pull request May 8, 2022
@catfan
Copy link
Owner

catfan commented May 8, 2022

Thanks for the fix. It's merged.

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

Successfully merging this pull request may close these issues.

2 participants