From 49223f875bf66d06efe85cc56a7712d239cea477 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 9 Dec 2016 14:19:28 +0200 Subject: [PATCH] CRUD --- docs/custom_modules.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/custom_modules.rst b/docs/custom_modules.rst index ffe6a05bf6..3f39f5e930 100644 --- a/docs/custom_modules.rst +++ b/docs/custom_modules.rst @@ -32,19 +32,19 @@ Run the following command to create a CRUD module: .. code-block:: php - php artisan ninja:make-module Inventory 'name:string,description:text' + php artisan ninja:make-module 'name:string,description:text' You can make adjustments to the migration file and then run: .. code-block:: php - php artisan module:migrate Inventory + php artisan module:migrate To create and migrate in one step add ``--migrate=true`` .. code-block:: php - php artisan ninja:make-module Inventory 'name:string,description:text' --migrate=true + php artisan ninja:make-module 'name:string,description:text' --migrate=true .. Tip:: You can specify the module icon by setting a value from http://fontawesome.io/icons/ for "icon" in modules.json.