Permalink
Browse files

Revert "Fix (hopefully; untested) two issues with MySQL"

This reverts commit fd5396e.
As I said, this was untested, and I am not even sure it actually
helps nor that it doesn't break anything.
  • Loading branch information...
1 parent c661841 commit 591a006551b96396fe3c0f08930fef8d72e598cf @sr sr committed Apr 4, 2009
Showing with 2 additions and 9 deletions.
  1. +0 −7 lib/integrity.rb
  2. +2 −2 lib/integrity/migrations.rb
View
@@ -29,13 +29,6 @@
require "integrity/helpers"
require "integrity/app"
-# http://github.com/datamapper/dm-more/commit/13bbcc8592fc391d03d12383d1da6c280c33132a
-# http://integrity.lighthouseapp.com/projects/14308/tickets/92
-# http://datamapper.lighthouseapp.com/projects/20609/tickets/802
-class DataMapper::Types::URI
- size 255
-end
-
module Integrity
def self.new(config=nil)
if config.is_a?(String) && File.file?(config)
@@ -53,7 +53,7 @@ module Migrations
create_table :integrity_builds do
column :id, Integer, :serial => true
- column :output, Text, :nullable => false
+ column :output, Text, :nullable => false, :default => ""
column :successful, Boolean, :nullable => false, :default => false
column :commit_identifier, String, :nullable => false
column :commit_metadata, Yaml, :nullable => false
@@ -110,7 +110,7 @@ class ::Integrity::Build
column :started_at, DateTime
column :completed_at, DateTime
column :successful, Boolean
- column :output, Text, :nullable => false
+ column :output, Text, :nullable => false, :default => ""
column :created_at, DateTime
column :updated_at, DateTime

0 comments on commit 591a006

Please sign in to comment.