datatracker/ietf/doc/migrations
Henrik Levkowetz 815602351f This is a series of 50 migrations that changes the Document and DocAlias
primary keys from character strings to integers, and makes corresponding code
changes.

This was prompted by database limitations discovered when trying to make
DocAlias use a m2m document field; with 255 long strings as primary keys for
Document and DocAlias this violated the MySQL database limitations.

Changing the primary keys to integers should also improve efficiency.  

Due to the data migrations which create the new integer primary keys and adds
corresponding integer foreign keys matching the previous string foreign keys
in all tables having foreign keys to Document and DocAlias, some of these
migrations take a long time.  The total set of migrations are expected to have
a runtime on the order of 2 hours.
 - Legacy-Id: 16237
2019-06-10 11:32:46 +00:00
..
0001_initial.py Got rid of old migrations and created new initial migrations. 2018-02-21 23:46:22 +00:00
0002_auto_20180220_1052.py Added some missing migrations. 2018-02-25 20:06:50 +00:00
0003_auto_20180401_1231.py Added an index for (doc, type) on DocEvent to speed up latest_event() queries. 2018-04-01 19:33:16 +00:00
0004_add_draft_stream_replaced_states.py Missed adding the migrations. Related to #1963. Commit ready for merge. 2018-05-03 21:23:07 +00:00
0005_fix_replaced_iab_irtf_stream_docs.py Missed adding the migrations. Related to #1963. Commit ready for merge. 2018-05-03 21:23:07 +00:00
0006_ballotpositiondocevent_send_email.py Added an send_email field to BallotPostitionDocEvent to reflect whether the 'Send email' button was used to save the ballot position. Reverted a different earlier schema change which had the same purpose. Added icons on documents' IESG evaluation record to reflect this. 2018-10-07 15:08:17 +00:00
0007_idexists.py Added an explicit ID-Exists state for the IESG state machine. Reworked code so that the IESG state machine always has a state. Added the ability to release a document from a working group, research group, or the independent stream. Releasing a document removes all stream state, and sets the document to have no stream. 2018-12-11 22:38:05 +00:00
0008_add_uploaded_filename.py Refactored DocumentInfo to address overloading the external_url field with strings that are not URLs. Commit ready for merge. 2019-01-02 22:55:00 +00:00
0009_move_non_url_externalurls_to_uploaded_filename.py Migration reordering to avoid schema migrations after data migrations. 2019-01-14 14:22:13 +00:00
0010_auto_20190225_1302.py Increased the DocumentURL.url field length to the legal URL maximum of 2083 2019-02-25 21:05:25 +00:00
0011_reviewassignmentdocevent.py Some additional tweaks to the review assingment migrations. 2019-05-02 15:40:21 +00:00
0012_add_event_type_closed_review_assignment.py Some additional tweaks to the review assingment migrations. 2019-05-02 15:40:21 +00:00
0013_add_document_docalias_id.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0014_set_document_docalias_id.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0015_1_add_fk_to_document_id.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0015_2_add_doc_document_m2m_fields.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0016_set_document_docalias_fk.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0017_make_document_id_primary_key.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0018_remove_old_document_field.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0019_rename_field_document2.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0020_copy_docs_m2m_table.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0021_remove_docs2_m2m.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
0022_document_primary_key_cleanup.py This is a series of 50 migrations that changes the Document and DocAlias 2019-06-10 11:32:46 +00:00
__init__.py Finish ballot support for charters (apart from non-generic ballot 2012-04-04 18:09:03 +00:00