terminal42 / contao-pageimage

MIT License
12 stars 13 forks source link

Add runonce to migrate data from Contao 2.x/3.0/3.1 #8

Closed aschempp closed 10 years ago

aschempp commented 10 years ago

Please add it to the 3.0.0 release branch.

zonky2 commented 10 years ago

ähhh... ist das ein Ticket an dich selbst?? oder gibt es die runonce schon?

aschempp commented 10 years ago

Das ist ein Ticket an uns selbst ;-)

qzminski commented 10 years ago

Completed in e4f1411.

aschempp commented 10 years ago

Version 3 allows for checkboxes (multi select), are you sure that works with your conversion?

qzminski commented 10 years ago

Oh, does it really? Then I'll need to fix that...

qzminski commented 10 years ago

Now it should work :-) Fixed in 5cb6cea.

aschempp commented 10 years ago

Will that work if the field was previously single and is now multiple? ;-)

qzminski commented 10 years ago

I think so, have a look here: https://github.com/contao/core/blob/master/system/modules/core/library/Contao/Database/Updater.php#L822