浏览代码

Update creating_an_admin.rst

tablaz 9 年之前
父节点
当前提交
547c04f5a4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/getting_started/creating_an_admin.rst

+ 1 - 1
Resources/doc/getting_started/creating_an_admin.rst

@@ -15,7 +15,7 @@ using these commands:
 .. code-block:: bash
 
     $ php app/console doctrine:generate:entity --entity="AppBundle:Category" --fields="name:string(255)" --no-interaction
-    $ php app/console doctrine:generate:entity --entity="AppBundle:BlogPost" --fields="title:string(255) body:textdraft:boolean" --no-interaction
+    $ php app/console doctrine:generate:entity --entity="AppBundle:BlogPost" --fields="title:string(255) body:text draft:boolean" --no-interaction
 
 After this, you'll need to tweak the entities a bit: