YII2 Advanced CRUD


1. configuration with migration . folder path: common\config\main-local.php

2. create table: client

CREATE TABLE `client` (
`client_id`  int NOT NULL AUTO_INCREMENT ,
`first_name`  varchar(255) NOT NULL ,
`middle_name`  varchar(255) NULL ,
`last_name`  varchar(255) NOT NULL ,
PRIMARY KEY (`client_id`)
);

3. Go to backend gii example: http://backend.dev/gii















Share on Google Plus

About Ram Pukar

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment