1

I am new to symfony2.

Is it possible to create table (fields with relevant data types) from command line without creating entity first?

4

1 回答 1

3
php app/console doctrine:generate:entity --entity="BundleName:EntityName" --fields="name:string(255)"
于 2013-07-25T07:25:33.433 回答