Yii Framework Forum: Gii Migration Generator - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Gii Migration Generator A gii generator for those pesky migration classes! Rate Topic: -----

#1 User is offline   PCFreak30 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 27-June 12

Posted 31 December 2013 - 01:53 PM

Well it has been around a year with yii for me and has done a lot of good for my projects. Recently I decided to rewrite an application on the web to Yii for internal use as I felt it could be done better.

My issue was the SQL schema was 1 big SQL file and I got tired quickly building migrations. I found one other generator that was like mine but it wasn't exactly what I wanted.

As for instructions, put in your protected/gii folder or whatever other folder you have added to your gii generator path in your app configuration.

Then like others, go to gii, and use. It uses all the model generator code so it can build migrations for an entire database in one go.

At present it only creates fields and handles primary keys.

Github: github.com/pcfreak30/Yii-Migration-Generator

Feel free to submit pull requests!

Regards,

Derrick H.
0

#2 User is offline   PCFreak30 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 27-June 12

Posted 31 December 2013 - 04:56 PM

Bugfix 1.01 released, which solves issues with timestamps and file/class names.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users