diff options
author | Xavier Noria <fxn@hashref.com> | 2012-03-01 16:15:00 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-03-01 16:16:31 -0800 |
commit | bbe7dac2230c6c9410fda59f6b259d3e53ea437e (patch) | |
tree | bc65ca538f713d8165d21bfb8040e7d078873b12 /activesupport/lib | |
parent | c2897901de4266e5c02da6cc5a9348bfde13552e (diff) | |
download | rails-bbe7dac2230c6c9410fda59f6b259d3e53ea437e.tar.gz rails-bbe7dac2230c6c9410fda59f6b259d3e53ea437e.tar.bz2 rails-bbe7dac2230c6c9410fda59f6b259d3e53ea437e.zip |
revert setting NOT NULL constraints in add_timestamps
Commit 3dbedd2 added NOT NULL constraints both to table
creation and modification. For creation the new default
makes sense, but the generic situation for changing a
table is that there exist records. Those records have
no creation or modification timestamps, and in the
general case you don't even know them, so when updating
a table these constraints are not going to work. See
a bug report for this use case in #3334.
Diffstat (limited to 'activesupport/lib')
0 files changed, 0 insertions, 0 deletions