Changes between Version 3 and Version 4 of Ticket #23541
- Timestamp:
- Sep 22, 2014, 9:35:02 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23541 – Description
v3 v4 23 23 ... 24 24 operations = [ 25 migrations.RunPython(26 code=x27 ),28 25 migrations.RunSQL( 29 26 sql="""select exec(format('alter table %I rename to %I', tablename, regexp_replace(tablename, '^hello, 'goodbye'))) from pg_tables where tablename like 'hello%';"""