diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-07-24 14:27:41 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-07-24 14:27:41 +0200 |
commit | 2a67e12fdb832a6b6e94bed1a0b05290019f5514 (patch) | |
tree | 8ff6954c1eaba775d438e50119069d0b4400c558 /railties/README.rdoc | |
parent | f3478f84130dc358ac8f563233d00fbcdcc67a30 (diff) | |
download | rails-2a67e12fdb832a6b6e94bed1a0b05290019f5514.tar.gz rails-2a67e12fdb832a6b6e94bed1a0b05290019f5514.tar.bz2 rails-2a67e12fdb832a6b6e94bed1a0b05290019f5514.zip |
pg, `change_column_default, :table, :column, nil` issues `DROP DEFAULT`.
Closes #16261.
[Matthew Draper, Yves Senn]
Using `DEFAULT NULL` results in the same behavior as `DROP DEFAULT`.
However, PostgreSQL will cast the default to the columns type,
which leaves us with a default like "default NULL::character varying".
/cc @matthewd
Diffstat (limited to 'railties/README.rdoc')
0 files changed, 0 insertions, 0 deletions