Quantcast
Channel: Academic Technology Group Developers Blog » migration
Browsing latest articles
Browse All 2 View Live

Yii Migrations: Dealing with auto_increment for Oracle and MySQL

Oracle deals with auto_increment by using sequences and triggers: create sequence test_seq start with 1 increment by 1 nomaxvalue; create trigger test_trigger before insert on test for each row begin...

View Article



Abstracting schemas for MySQL and Oracle with Yii Migrations

Yii migrations are an interesting way to keep track of your database changes.  I was originally looking for a tool that would abstract the schema SQL — with something like the Yii ActiveRecord — so I...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images