#23459: not faking 0001_initial migration
----------------------------+--------------------------------------
Reporter: brian | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 1.7
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+--------------------------------------
Comment (by brian):
I thought I had fixed it, but no luck:
https://github.com/Karaage-Cluster/karaage-
usage/commit/7f4c53a1539a52d0e85fe864c41b1db3bb8012b3
I found sqldiff, part of django-extensions. It says:
{{{
-- Detecting notnull changes not implemented for this database backend
BEGIN;
-- Application: kgusage
-- Model: CPUJob_software
ALTER TABLE `cpu_job_software`
MODIFY `id` integer AUTO_INCREMENT;
-- Model: CPUJob
ALTER TABLE `cpu_job`
MODIFY `id` integer AUTO_INCREMENT;
-- Model: InstituteCache
ALTER TABLE `cache_institutecache`
MODIFY `id` integer AUTO_INCREMENT;
-- Model: ProjectCache
ALTER TABLE `cache_projectcache`
MODIFY `id` integer AUTO_INCREMENT;
-- Model: PersonCache
ALTER TABLE `cache_personcache`
MODIFY `id` integer AUTO_INCREMENT;
-- Model: MachineCategoryCache
ALTER TABLE `cache_machinecategorycache`
MODIFY `id` integer AUTO_INCREMENT;
-- Model: MachineCache
ALTER TABLE `cache_machinecache`
MODIFY `id` integer AUTO_INCREMENT;
COMMIT;
}}}
As far as I can tell, these changes are false positives (maybe as a result
of int vs integer), and do not affect the migrations in anyway. All my
tables have minor differences like this, including in apps where the
migrations are correctly faked.
--
Ticket URL: <https://code.djangoproject.com/ticket/23459#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.f063cf8ac0196694a4b32b40c55cddac%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.