Andrew Godwin
|
4fcfc31865
|
Add gis deconstruct() method (this does not make schema work)
|
2013-11-27 12:56:33 +00:00 |
Joel Bohman
|
19e5cd77f0
|
Fixed #21497 -- Forced conversion to bytes for very long index names
|
2013-11-24 13:15:50 -05:00 |
Tim Graham
|
18ffdb1772
|
Fixed #17627 -- Renamed util.py files to utils.py
Thanks PaulM for the suggestion and Luke Granger-Brown and
Wiktor Kołodziej for the initial patch.
|
2013-09-16 12:52:05 -04:00 |
Gregor MacGregor
|
b2b763448f
|
Fixed #20841 -- Added messages to NotImplementedErrors
Thanks joseph at vertstudios.com for the suggestion.
|
2013-09-10 11:09:59 -04:00 |
Alex Gaynor
|
2530735d2d
|
Fixed a number of flake8 errors -- particularly around unused imports and local variables
|
2013-09-06 21:56:40 -07:00 |
Loic Bistuer
|
37d46b20fc
|
Fixed regression introduced by efd1e60 , 'map' returns an iterator on PY3.
|
2013-09-07 08:00:11 +07:00 |
Andrew Godwin
|
efd1e6096e
|
Adding 'sqlmigrate' command and quote_parameter to support it.
|
2013-09-06 15:28:12 -05:00 |
Andrew Godwin
|
630eb0564a
|
Fix SchemaEditor.__exit__ to handle exceptions correctly
|
2013-09-06 11:09:16 -05:00 |
Andrew Godwin
|
35230adf63
|
Python 3 compat fix for callable()
|
2013-08-23 17:59:35 +01:00 |
Andrew Godwin
|
2787de652a
|
Fix location of tablespace clauses in schema backend column SQL
|
2013-08-23 14:38:55 +01:00 |
Andrew Godwin
|
9cc6cfc405
|
Fix Oracle's default handling and schema-prepared-statement issue
|
2013-08-23 12:07:55 +01:00 |
Andrew Godwin
|
157604a87f
|
Oracle schema backend, passes most tests and is pretty complete.
|
2013-08-13 20:54:57 +01:00 |
Andrew Godwin
|
b4c493ecd3
|
Remove keep_default from add_field
|
2013-08-11 14:28:55 +01:00 |
Andrew Godwin
|
d985fd7a18
|
Fix tablespace command
|
2013-08-11 14:27:42 +01:00 |
Andrew Godwin
|
ae19315b4d
|
Support index_together during model creation
|
2013-08-11 14:23:31 +01:00 |
Andrew Godwin
|
21be9fef7b
|
Stop being overcautious about Field.rel
|
2013-08-11 00:01:30 +01:00 |
Andrew Godwin
|
ae96ad872f
|
Remove pointless fetch_results param
|
2013-08-09 17:42:56 +01:00 |
Andrew Godwin
|
fb16ee5a31
|
Remove commented-out print
|
2013-08-09 17:41:39 +01:00 |
Andrew Godwin
|
9c6d57ef5a
|
Prettier imports
|
2013-07-26 16:40:27 +01:00 |
Andrew Godwin
|
3a6580e485
|
Make get_constraints return columns in order
|
2013-07-02 18:02:20 +01:00 |
Andrew Godwin
|
f343cbf06c
|
Fix combined alters on PostgreSQL
|
2013-07-02 11:51:18 +01:00 |
Andrew Godwin
|
6a8cfbf07b
|
Support for index_together in schema backends
|
2013-07-02 11:43:44 +01:00 |
Andrew Godwin
|
6f667999e1
|
Add operation that renames tables
|
2013-06-20 14:54:11 +01:00 |
Andrew Godwin
|
d0ecefc2c9
|
Start adding operations that work and tests for them
|
2013-05-29 17:47:10 +01: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
|
6e21a59402
|
Fix schema editor interaction with new transactions
|
2013-04-19 09:01:45 +01:00 |
Andrew Godwin
|
7f3678dc4c
|
Merge branch 'master' into schema-alteration
Conflicts:
django/db/backends/__init__.py
django/db/backends/mysql/base.py
django/db/backends/oracle/base.py
django/db/backends/oracle/creation.py
django/db/backends/postgresql_psycopg2/base.py
django/db/backends/sqlite3/base.py
django/db/models/fields/related.py
|
2013-04-18 17:16:39 +01:00 |
Andrew Godwin
|
b6784bee66
|
Use create_index_name for FK names
|
2012-09-24 13:40:56 +01:00 |
Andrew Godwin
|
0bcfc068b0
|
Add second shortener to create_index_name for very long columns
|
2012-09-24 13:23:25 +01:00 |
Andrew Godwin
|
d146b250ae
|
Remove one of the last traces of South
|
2012-09-24 13:18:14 +01:00 |
Andrew Godwin
|
3a338d00ec
|
Add comment to usage of m2m_reverse_field_name
|
2012-09-24 13:17:38 +01:00 |
Andrew Godwin
|
49dc1e7d28
|
Fix altering of indexes alongside uniques
|
2012-09-24 13:15:08 +01:00 |
Andrew Godwin
|
0354cecbfd
|
Fix nullability changing code
|
2012-09-24 12:56:17 +01:00 |
Andrew Godwin
|
e3c9742cd4
|
Fix error message for unique constraints
|
2012-09-24 12:51:50 +01:00 |
Andrew Godwin
|
1a6d07783d
|
Do cheaper check for column having a type.
|
2012-09-24 12:19:32 +01:00 |
Andrew Godwin
|
f0e09e27f6
|
Fix non-executed SQL
|
2012-09-24 12:16:16 +01:00 |
Andrew Godwin
|
45e5eedea9
|
Remove special-casing for proxy/unmanaged models
|
2012-09-22 01:17:08 +01:00 |
Andrew Godwin
|
ae6ffd2e7e
|
Stylistic fixes: triple-quoted docstrings, more comments
|
2012-09-18 10:37:30 +01:00 |
Andrew Godwin
|
ca9c3cd39f
|
Add check constraint support - needed a few Field changes
|
2012-09-07 15:40:59 -04:00 |
Andrew Godwin
|
375178fc19
|
Add M2M repointing
|
2012-09-07 14:39:22 -04:00 |
Andrew Godwin
|
a92bae0f06
|
Repoint ForeignKeys when their to= changes.
|
2012-09-07 13:31:05 -04:00 |
Andrew Godwin
|
d683263f97
|
Added SQLite backend which passes all current tests
|
2012-09-07 12:51:11 -04:00 |
Andrew Godwin
|
cd583d6dbd
|
Implement primary key changing
|
2012-09-04 12:53:31 -04:00 |
Andrew Godwin
|
d865503389
|
db_index alteration mostly working
|
2012-08-30 23:11:56 +01:00 |
Andrew Godwin
|
f7955c703d
|
All tests passing on MySQL
|
2012-08-18 13:48:54 +01:00 |
Andrew Godwin
|
60873ea2ad
|
Add db_table and db_tablespace handling
|
2012-08-10 15:03:18 +01:00 |
Andrew Godwin
|
c4b2a3262c
|
Add support for unique_together
|
2012-08-10 12:38:18 +01:00 |
Andrew Godwin
|
b139315f1c
|
Add M2M tests and some unique support
|
2012-08-02 15:08:39 +01:00 |
Andrew Godwin
|
959a3f9791
|
Add some field schema alteration methods and tests.
|
2012-06-19 13:25:22 +01:00 |