Andrew Godwin
|
3f7113f1d9
|
Fix timezone warnings if USE_TZ=True
|
2013-07-26 16:46:48 +01:00 |
Andrew Godwin
|
a758c9c186
|
Add test for creating M2Ms
|
2013-07-25 16:36:58 +01:00 |
Andrew Godwin
|
162f7b938f
|
Make migrate command recognise prefixes and 'zero'.
|
2013-07-22 19:43:58 +01:00 |
Andrew Godwin
|
61ff46cf8b
|
Add AlterIndexTogether operation
|
2013-07-02 18:02:01 +01:00 |
Andrew Godwin
|
3b20af3e96
|
Autodetection of unique_together changes
|
2013-07-02 11:25:18 +01:00 |
Andrew Godwin
|
67dcea711e
|
Add unique_together altering operation
|
2013-07-02 11:19:02 +01:00 |
Andrew Godwin
|
e2d7e83256
|
Autodetect ForeignKeys and add dependencies/split on circulars
|
2013-06-22 17:15:51 +01:00 |
Andrew Godwin
|
cca40703df
|
Prompt about renames rather than doing them automatically
|
2013-06-21 15:32:15 +01:00 |
Andrew Godwin
|
92a10f5552
|
Autodetect field renames. HAHAHA. AHAHAHAHA. YES.
|
2013-06-20 16:02:43 +01:00 |
Andrew Godwin
|
47e4b86ddf
|
Autodetect field alters
|
2013-06-20 15:19:30 +01:00 |
Andrew Godwin
|
80bdf68d6b
|
Add AlterField and RenameField operations
|
2013-06-20 15:12:59 +01:00 |
Andrew Godwin
|
6f667999e1
|
Add operation that renames tables
|
2013-06-20 14:54:11 +01:00 |
Andrew Godwin
|
73e30e9d3b
|
Better naming, and prompt for NOT NULL field addition
|
2013-06-19 17:01:48 +01:00 |
Andrew Godwin
|
41214eaf18
|
Autodetect fields, have migrate actually work
|
2013-06-19 16:41:04 +01:00 |
Andrew Godwin
|
f25a385a5e
|
Makemigration command now works
|
2013-06-19 16:23:52 +01:00 |
Andrew Godwin
|
ab5cbae9b7
|
First stab at some migration creation commands
|
2013-06-19 15:36:22 +01:00 |
Andrew Godwin
|
2ae8a8a77d
|
Fix test running with new apps stuff/migrate actually running migrations
|
2013-06-19 15:36:02 +01:00 |
Andrew Godwin
|
315ab41e41
|
Initial stab at a migrate command, it's probably quite a way off.
|
2013-06-07 18:47:17 +01:00 |
Andrew Godwin
|
91c470def5
|
Auto-naming for migrations and some writer fixes
|
2013-06-07 17:56:43 +01:00 |
Andrew Godwin
|
cd809619a2
|
Autodetector tests
|
2013-06-07 15:49:48 +01:00 |
Andrew Godwin
|
c7aa4b5338
|
Field encoding
|
2013-06-07 15:36:31 +01:00 |
Andrew Godwin
|
4492f06408
|
A bit of an autodetector and a bit of a writer
|
2013-06-07 15:28:38 +01:00 |
Andrew Godwin
|
7609e0b42e
|
Remove debug prints
|
2013-05-30 18:25:57 +01:00 |
Andrew Godwin
|
8d81c6bc82
|
Use correct model versions for field operations
|
2013-05-30 18:24:20 +01:00 |
Andrew Godwin
|
e6ba63def3
|
Fix error in ModelState.clone() not copying deep enough
|
2013-05-30 18:24:10 +01:00 |
Andrew Godwin
|
e6f7f4533c
|
Add an Executor for end-to-end running
|
2013-05-30 18:08:58 +01:00 |
Andrew Godwin
|
dfa7c5cade
|
Allow retrieval of project state at start of migrations
|
2013-05-30 17:56:26 +01:00 |
Andrew Godwin
|
d0ecefc2c9
|
Start adding operations that work and tests for them
|
2013-05-29 17:47:10 +01:00 |
Andrew Godwin
|
264f8650e3
|
ModelState now freezes options and bases
|
2013-05-19 12:35:17 +02:00 |
Andrew Godwin
|
38a8cf1cdc
|
Fix state tests a little
|
2013-05-18 18:30:34 +02:00 |
Andrew Godwin
|
7d041b9394
|
Split up test and make the State classes a bit better.
|
2013-05-18 13:49:56 +02:00 |
Andrew Godwin
|
331546f6ee
|
More conversion to a ContextManager schema_editor
|
2013-05-18 11:48:46 +02:00 |
Andrew Godwin
|
ce5bd42259
|
Turn SchemaEditor into a context manager
|
2013-05-18 11:06:30 +02:00 |
Andrew Godwin
|
76d93a52cd
|
Make a start on operations and state (not sure if final layout)
|
2013-05-10 17:07:13 +01:00 |
Andrew Godwin
|
8a1f017777
|
Add root_node and leaf_node functions to MigrationGraph
|
2013-05-10 16:09:57 +01:00 |
Andrew Godwin
|
9ce8354672
|
First phase of loading migrations from disk
|
2013-05-10 16:00:55 +01:00 |
Andrew Godwin
|
f6801a234f
|
Adding a dependency graph class and tests
|
2013-05-10 12:52:04 +01:00 |