Closed joernroeder closed 7 years ago
use medoo->query(create........);
You have to create the database by yourself.
Medoo don't provide create
method because it only run a time for most case, and for most of time, using some database management tool like MySQL Administrator, to generate the create table query and then use the $database->query()
or exec()
will be the better choice.
thanks for the infos guys! I'd recommend to clarify the docs in this case to prevent further noob issues.
Hey, i've tried to run the demo with a fresh sqlitedb but got the
"no such table: account"
error and didn't found acreate(Table)
method in the docs. How can i create my tables? thanks in advance!