Sequel.migration do
  change do
    adapter_scheme =  self.adapter_scheme

    create_table :ephemeral_blobs do
      primary_key :id

      if [:mysql2, :mysql].include?(adapter_scheme)
        longtext :blobstore_id, :null => false
        longtext :sha1, :null => false
      else
        text :blobstore_id, :null => false
        text :sha1, :null => false
      end

      Time :created_at, null: false
    end
  end
end

Sequel.migration do
  change do
    create_table :ephemeral_blobs do
      primary_key :id
      String :blobstore_id, :null => false
      String :sha1, :null => false
      Time :created_at, null: false
    end
  end
end

Make blobstore_id and sha1 as strings
Make blobstore_id and sha1 as strings

[#118957819]
https://www.pivotaltracker.com/story/show/118957819

Signed-off-by: Ivan Rodriguez <489d99cb1180510ba868a41f5ab2ce6b721fdf5f@pivotal.io>
