yii-install Install Database for yii Site

yii-install

Extension Installs Database for Yii project.

Usage

**Add to modules**



```php
'modules' => array (
				'install'
		),

Save your SQL file in modules/install/db folder with the name of "install.sql".

Add to index.php file

defined('YII_ENV') or define('YII_ENV','dev');
defined('DB_CONFIG_PATH') or define('DB_CONFIG_PATH',__DIR__."/protected/config/");
defined('DB_CONFIG_FILE_PATH') or define('DB_CONFIG_FILE_PATH', DB_CONFIG_PATH.YII_ENV.'-db.php');

Url `index.php?r=install`


1 0
1 follower
117 downloads
Yii Version: 1.1
License: Apache-2.0
Category: Database
Tags:
Developed by: shiv
Created on: Jul 13, 2016
Last updated: 11 months ago

Downloads

show all