소스 검색

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
 .. 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: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:
 After this, you'll need to tweak the entities a bit: