diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-07-22 09:05:33 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-07-22 09:07:31 +0200 |
commit | 4c81c8ce533896be28bdc0b055ff30bb9dee1316 (patch) | |
tree | 7b61edacd064013753420c1f32f082bb98755ef3 /activerecord/test/cases/base_test.rb | |
parent | 30a38181f88aa80d6054b4fed5812a4c695b073d (diff) | |
download | rails-4c81c8ce533896be28bdc0b055ff30bb9dee1316.tar.gz rails-4c81c8ce533896be28bdc0b055ff30bb9dee1316.tar.bz2 rails-4c81c8ce533896be28bdc0b055ff30bb9dee1316.zip |
build fix, remove not null constraint.
The fixtures are still in play, adding a new column without a default and `null: true`
is not possible. This reverts back to leaking global state, as our `schema.rb` adds
the `null: false` constraint on this field.
A future solution would be to make the `migration_test.rb` run independent of fixture tables.
This way we can simply drop the state after test execution, without worrying about side effects.
/cc @zuhao
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
0 files changed, 0 insertions, 0 deletions