Author: ornicar2 Date: 2010-01-28 04:22:21 +0100 (Thu, 28 Jan 2010) New Revision: 27270
Removed: plugins/diemPlugin/trunk/dmCorePlugin/data/skeleton/lib/model/doctrine/_readme.php Log: [Diem] - remove the weird _readme.php file thanks to http://trac.doctrine-project.org/changeset/7067 Deleted: plugins/diemPlugin/trunk/dmCorePlugin/data/skeleton/lib/model/doctrine/_readme.php =================================================================== --- plugins/diemPlugin/trunk/dmCorePlugin/data/skeleton/lib/model/doctrine/_readme.php 2010-01-28 03:21:15 UTC (rev 27269) +++ plugins/diemPlugin/trunk/dmCorePlugin/data/skeleton/lib/model/doctrine/_readme.php 2010-01-28 03:22:21 UTC (rev 27270) @@ -1,20 +0,0 @@ -<?php return ?> - -What's this file ?! - -## PROBLEM -With symfony and Doctrine, you can't generate migrations if your schema.yml is empty. -This has nothing to do with Diem. - -So the first time you add tables in your schema, you have to create the database from scratch. -This is bad because plugins have also tables, and they will be dropped and created again. -And your data may be lost. - -##SOLUTION -The less ugly way to allow migrations with an empty schema.yml is -to have at least one php file in /libs/model/doctrine. -The migration task finds it and allows the migration generation. - -This is the file. -You can safely remove it once your project has php files in this folder. -You may also let it here. \ No newline at end of file -- You received this message because you are subscribed to the Google Groups "symfony SVN" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/symfony-svn?hl=en.
