Changes between Version 3 and Version 4 of Ticket #23541


Ignore:
Timestamp:
Sep 22, 2014, 9:35:02 PM (10 years ago)
Author:
Aryeh Hillman
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23541 – Description

    v3 v4  
    2323...
    2424    operations = [
    25         migrations.RunPython(
    26             code=x
    27         ),
    2825        migrations.RunSQL(
    2926            sql="""select exec(format('alter table %I rename to %I', tablename, regexp_replace(tablename, '^hello, 'goodbye'))) from pg_tables where tablename like 'hello%';"""
Back to Top