Changes between Initial Version and Version 2 of Ticket #28065


Ignore:
Timestamp:
Apr 10, 2017, 5:32:17 PM (8 years ago)
Author:
Cameron Dawson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28065

    • Property Cc emorley@… added
  • Ticket #28065 – Description

    initial v2  
    1 If you just add a {{{related_name}}} to an existing foreign key, it will require a migration which then drops and re-creates the foreign key.  This is a non-DB, {{{meta}}} change only and shouldn't create a migration.
     1If you just add a {{{related_name}}} to an existing foreign key, it will require a migration which then drops and re-creates the foreign key.  This is a non-DB, {{{meta}}} change only and shouldn't create a migration.  This is with MySQL.
    22
    33With Models:
     
    4747]
    4848}}}
    49 The {{{CREATE_INDEX}}} for both migrations is identical:
     49The {{{CREATE_INDEX}}} result in {{{sqlmigrate}}} for both migrations is identical:
    5050{{{
    5151CREATE INDEX "polls_jobdetail_job_id_5561ba44" ON "polls_jobdetail" ("job_id");
Back to Top