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
0 comments:
Post a Comment