tickets: 470
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
470 | 2005-09-07 13:45:25 | 2022-03-01 05:55:35 | 2022-03-06 03:20:48.232775 | Accepted | assigned | Database layer (models, ORM) | New feature | normal | Add Field.db_default for defining database defaults | https://github.com/django/django/pull/13709 Apply this diff to django/core/mamagement.py Should work on any database. 75a76,77 > if f.default <> meta.fields.NOT_PROVIDED: > field_output.append("DEFAULT '%s'" % (f.default,)) | joshiayush | jws | sql schema | 0 | 1 | 1 | 0 | 0 | 0 |