From ae1fa70036bea06d36a9ccbc16bb5b5d2347b2b9 Mon Sep 17 00:00:00 2001 From: Naveed ul Hassan <08es34@gmail.com> Date: Wed, 3 Feb 2016 11:04:56 +0500 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9d64cde..788d69f 100644 --- a/README.md +++ b/README.md @@ -133,3 +133,7 @@ In case you don't like the default code that is generated for you, the templates ### Primary Keys Other Than 'id' - At the moment NVD CRUD generator accepts only 'id' column as the primary key. Having a primary key other than 'id' will be supported in upcoming versions. But right now, you have to follow the convention. + +### Laravel Eloquent Conventions + +- For smooth operations, Laravel conventions should be followed when creating database tables. If you are facing errors / exceptions mentioning primary keys, table names or timestamps (`created_at`, `updated_at`), please refer to [Laravel docs about conventions](https://laravel.com/docs/5.2/eloquent#eloquent-model-conventions).