Hi, I've created a database using
*$schema->createDatabase($name);*
Now I want to create a *table *in that *database*;
The docs says I can do it in this way:
$schema = new \Doctrine\DBAL\Schema\Schema();$myTable =
$schema->createTable("my_table");
*Thats ok. But the tables will not be created at the same time the database
was. *
*So, how can I reference the newly created database? *
Like having a function
$schema = new \Doctrine\DBAL\Schema\Schema($exisitingDbName);$myTable =
$schema->createTable("my_table");
Thank's !
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.