sequel_migration_builder 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sequel/schema/db_column.rb +2 -2
- data/sequel_migration_builder.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
@@ -83,8 +83,8 @@ module Sequel
|
|
83
83
|
def options
|
84
84
|
opts = []
|
85
85
|
|
86
|
-
opts << ":null =>
|
87
|
-
opts << ":default => #{default.inspect}" if default
|
86
|
+
opts << ":null => #{(!!null).inspect}" if null != true || column_type == :timestamp
|
87
|
+
opts << ":default => #{default.inspect}" if default || column_type == :timestamp
|
88
88
|
opts << ":unsigned => true" if unsigned
|
89
89
|
opts << ":size => #{size.inspect}" if size
|
90
90
|
opts << ":elements => #{elements.inspect}" if elements
|