Sha256: 6954733075ec134ad7102d56f47e7c55b3fa85b76da57d8288c44d1bcde44bd5

Contents?: true

Size: 156 Bytes

Versions: 16

Compression:

Stored size: 156 Bytes

Contents

module DataType
  class Date < Base
    def column
      {:type => :datetime}
    end
    
    def self.default_mock
      ::Time.now
    end
  end
end
  

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
migrant-1.1.1 lib/datatype/date.rb
migrant-1.1.0 lib/datatype/date.rb
migrant-1.0.2 lib/datatype/date.rb
migrant-1.0.1 lib/datatype/date.rb
migrant-1.0.0 lib/datatype/date.rb
migrant-0.2.4 lib/datatype/date.rb
migrant-0.2.3 lib/datatype/date.rb
migrant-0.2.2 lib/datatype/date.rb
migrant-0.2.1 lib/datatype/date.rb
migrant-0.2.0 lib/datatype/date.rb
migrant-0.1.5 lib/datatype/date.rb
migrant-0.1.4 lib/datatype/date.rb
migrant-0.1.3 lib/datatype/date.rb
migrant-0.1.2 lib/datatype/date.rb
migrant-0.1.1 lib/datatype/date.rb
migrant-0.1.0 lib/datatype/date.rb