@@ -0,0 +1,1252 @@
+# -*- coding: utf-8 -*-%0Afrom __future__ import unicode_literals%0A%0Aimport os%0Afrom django.db import migrations, models%0Afrom django.core import management%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B%0A        ('models', '0014_4_0_2'),%0A    %5D%0A%0A    operations = %5B%0A            migrations.RunSQL(%22%22%22%0A                    update widgets%0A                    %09set defaultconfig = (SELECT defaultconfig %7C%7C jsonb_build_object('defaultValue', '') FROM widgets WHERE name = 'text-widget')%0A                    %09WHERE name = 'text-widget';%0A                    update cards_x_nodes_x_widgets%0A                    %09set config = (SELECT config %7C%7C jsonb_build_object('defaultValue', '') FROM widgets WHERE name = 'text-widget')%0A                    %09WHERE widgetid in (SELECT widgetid FROM widgets WHERE name = 'text-widget');%0A%0A%0A                %22%22%22,%0A                %22%22%22%0A                    update widgets%0A                    %09set defaultconfig = defaultconfig - 'defaultValue'%0A                    %09WHERE name = 'text-widget';%0A                    update cards_x_nodes_x_widgets%0A                    %09set config = config - 'defaultValue'%0A                    %09WHERE widgetid in (SELECT widgetid FROM widgets WHERE name = 'text-widget');%0A                %22%22%22),%0A    %5D%0A

Add migration file, re #2704