Skip to content

Commit 0b0e7af

Browse files
committed
less null: true warnings while testing against AR 4.2
1 parent fe11cac commit 0b0e7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/db/mysql/rake_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def do_teardown
7575
# Rake::Task["db:create"].invoke
7676
create_rake_test_database do |connection|
7777
create_schema_migrations_table(connection)
78-
connection.create_table('users') { |t| t.string :name; t.timestamps }
78+
connection.create_table('users') { |t| t.string :name, :null => true; t.timestamps }
7979
end
8080

8181
structure_sql = File.join('db', structure_sql_filename)

0 commit comments

Comments
 (0)