neam/gii2-file-registry-generators

Yii 1 Migration Generation utilizing Gii 2 (Yii 2 Framework)

dev-develop 2015-08-02 20:19 UTC

This package is not auto-updated.

Last update: 2024-12-25 10:47:18 UTC


README

File Registry "Migrate From" Generator

Generates Yii 1 data and schema migrations for converting P3Media media attributes into File Registry ditos (Note: the data migration uses EDbMigration class form yiiext/migrate-command)

Usage:

tools/code-generator/yii gii/file-registry-migrate-from --template=p3media --overwrite=1 --interactive=0
mv tools/code-generator/migrations/file-registry-migrate-from-p3media/*.php dna/db/migrations/common/

Links