| |
doctrine-user |
On 8 июл, 10:52, eXtreme <jacek.jedrzejew...@gmail.com> wrote:
> should work fine, but you must be aware that Doctrine will create
> On 8 Lip, 09:38, nord_ua <ryabenko.ser...@gmail.com> wrote:
> > Hi. I have to empty table for my tests. How can I do it?
It does not
> Doctrine will create
> primary "id" field there.
I need load fixture in _existing_ table, to empty it.
> columns:
> primary "id" field there.
> > I've tried to write just
> > ---------------------------------------
> > TableName: ~
> > ---------------------------------------
> > (Also {} and nothing instead of ~) but I have
> > Argument 2 passed to Doctrine_Data_Import::_hasNaturalNestedSetFormat
> > () must be an array, null given, called in /srv/www/vhosts/
> > smomarket.localhost/www/smomarket/lib/vendor/symfony/lib/plugins/
> > sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data/Import.php on line
> > 288 and defined
> > /srv/www/vhosts/smomarket.localhost/www/smomarket/lib/vendor/symfony/
> > lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data/
> > Import.php:253
> > /srv/www/vhosts/smomarket.localhost/www/smomarket/lib/vendor/symfony/
> > lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data/
> > Import.php:288
> > /srv/www/vhosts/smomarket.localhost/www/smomarket/lib/vendor/symfony/
> > lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data/
> > Import.php:113
> > /srv/www/vhosts/smomarket.localhost/www/smomarket/lib/vendor/symfony/
> > lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Data.php:222
> > /srv/www/vhosts/smomarket.localhost/www/smomarket/lib/vendor/symfony/
> > lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine.php:850
> > ............