﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30642	Unable to include default value in column_sql when creating new model.	Jeff Cohen	nobody	"The column_sql accepts an include_default argument, which is defaulted to False if it is not passed.
https://github.com/django/django/blob/master/django/db/backends/base/schema.py#L202

The code that calls it in table_sql, however, doesn't pass the argument so always defaults to False.
https://github.com/django/django/blob/master/django/db/backends/base/schema.py#L155

As a result, it does not appear possible to turn on that flag for migrations.

I have got this functionality working by subclassing the DatabaseSchemaEditor and overriding the `column_sql` function to default `include_default=True`."	Cleanup/optimization	closed	Database layer (models, ORM)	dev	Normal	invalid		Leo	Unreviewed	0	0	0	0	0	0
