Skip to content

Commit

Permalink
Composite keys for SQLite can't be NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Nov 2, 2016
1 parent 911bfc5 commit 0ddf6e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/migration/sqlite.rb
Expand Up @@ -407,7 +407,7 @@
name, options = table[0]
name.must_equal :group_id

options.fetch(:allow_null).must_equal true
options.fetch(:allow_null).must_equal false
options.fetch(:default).must_equal nil
options.fetch(:type).must_equal :integer
options.fetch(:db_type).must_equal 'integer'
Expand All @@ -417,7 +417,7 @@
name, options = table[1]
name.must_equal :position

options.fetch(:allow_null).must_equal true
options.fetch(:allow_null).must_equal false
options.fetch(:default).must_equal nil
options.fetch(:type).must_equal :integer
options.fetch(:db_type).must_equal 'integer'
Expand Down

0 comments on commit 0ddf6e6

Please sign in to comment.