neam / gii2-file-registry-generators
Yii 1 Migration Generation utilizing Gii 2 (Yii 2 Framework)
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2-gii: ~2.0.1
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/