Ops!
It's my error.
In lib folder there wac a model with name connection.....
Excuse me.


On 17 Set, 12:04, luigi <lma...@opsource.it> wrote:
> Hi,
> I executed the task doctrine:generate-migrations-diff.
> System generate the migration class, but in this class the system add
> a new table named "connection".
>
> class Version1 extends Doctrine_Migration_Base
> {
>     public function up()
>     {
>         $this->dropTable('connnection');  <-----???
>         $this->addColumn('wac_agenda', 'other', 'boolean', '25',
> array(
>              ));
>     }
>
>     public function down()
>     {
>    ???----->        $this->createTable('connnection', array(
>              'id' =>
>              array(
>               'type' => 'integer',
>               'length' => '8',
>               'autoincrement' => '1',
>               'primary' => '1',
>              ),
>              ), array(
>              'type' => '',
>              'indexes' =>
>              array(
>              ),
>              'primary' =>
>              array(
>               0 => 'id',
>              ),
>              'collate' => '',
>              'charset' => '',
>              ));
>         $this->removeColumn('wac_agenda', 'other');
>     }
>
> }
>
> in YAML file don't exist any "connection table".
>
> Can you help me please?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to