sequel_migration_builder 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -83,8 +83,8 @@ module Sequel
83
83
  def options
84
84
  opts = []
85
85
 
86
- opts << ":null => false" unless null == true
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sequel_migration_builder}
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roland Swingler"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Roland Swingler