Skip to content

256mywind/migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attention

Must be added namespace

or

swoft migration

swoft database migration component

install

composer require yangdong/swoft-migration

If it cannot be installed. maybe add version number.

composer require yangdong/swoft-migration:dev-master

explain

about config

.env

DB_URI=127.0.0.1:3306/swoft?user=root&password=admin123456&charset=utf8mb4&table_prefix=sw_,127.0.0.1:3306/swoft?user=root&password=admin123456&charset=utf8mb4&table_prefix=sw_

Table prefix can be added.

&table_prefix=sw_

If no prefix is added, the default prefix sw_ will be used.

db.php can use evn() get .env file config data.

About

Migration database for swoft framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published