Skip to content
Commits on May 26, 2016
  1. @tpitale

    Merge pull request #57 from tillsc/inherit_field_type2

    Inherit DB field type from superclass (second try)
    tpitale committed May 26, 2016
Commits on May 25, 2016
  1. @tillsc

    Inherit DB field type from superclass

    Problem: All custom DataMapper::Properties (e.g. in dm-types) have database field types based upon their Ruby primitives. Especially Properties inheriting from DataMapper::Property::Text like DataMapper::Property::JSON have some problems with that behavior (since they will result in VARCARs instead of LOBs).
    
    This commit adds logic to try to find a database field type based upon the superclasses of the (custom) property. Only if no superclass has a direkt mapping from `property.class` to field type the fallback to the Ruby primitive (returned by `dump_as`) will take place.
    tillsc committed May 24, 2016
  2. @tillsc

    Add failing spec

    tillsc committed Mar 30, 2015
Commits on May 24, 2016
  1. @tpitale

    Merge pull request #58 from datamapper/travis-fix

    Attempt to install bundler to fix undef method spec
    tpitale committed May 24, 2016
  2. @tpitale
Commits on Feb 22, 2016
  1. @tpitale

    Merge pull request #56 from patcheng/feature/better-sql-server

    Feature/better sql server
    tpitale committed Feb 22, 2016
  2. @patcheng

    Merge branch 'master' into feature/better-sql-server

    * master: (36 commits)
      Fix mysql migration to handle integer properties with no min or max
      Fix non-text string property with no length to have a sane default
      Add jruby-19mode to allowed failures
      Fix handling of custom types in MySQL
      Change home-grown retry to built-in travis primitive
      Change .travis.yml to be consistent with dm-types
      Remove excess complexity from the Gemfile
      Remove backports gem dependency
      Fix spec setup and update Gemfile
      Update travis
      Add basic .travis.yml.
      Add basic .travis.yml.
      Add backports to isolated spec helpers
      Add specs for #change_column under MySQL
      Refactor mysql rename column statement generation
      Fix specs that were broken for postgresql since they assumed mysql syntax
      Fix code formatting and whitespace
      Added a spec for calling rename_column in modify_table on postgres/mysql.
      Include all column attributes when generating an ALTER TABLE / CHANGE statement.
      fix for sqlite
      ...
    
    # Conflicts:
    #	lib/dm-migrations/adapters/dm-do-adapter.rb
    patcheng committed Feb 22, 2016
Commits on Apr 7, 2015
  1. @dkubb
  2. @dkubb
Commits on Apr 3, 2015
  1. @dkubb

    Add jruby-19mode to allowed failures

    * Remove unused JRUBY_OPTS switch
    dkubb committed Apr 2, 2015
  2. @dkubb

    Fix handling of custom types in MySQL

    * This is mainly to assist the dm-validation specs at passing with
      a really funky custom property it defines.
    dkubb committed Apr 2, 2015
  3. @dkubb
Commits on Mar 28, 2015
  1. @dkubb
  2. @dkubb

    Remove excess complexity from the Gemfile

    * Upgrade DataObjects minimum version
    * Remove MRI 1.8 configuration
    * Change :git options to use :github
    dkubb committed Mar 27, 2015
  3. @dkubb

    Remove backports gem dependency

    dkubb committed Mar 27, 2015
Commits on Mar 27, 2015
  1. @solnic

    Fix spec setup and update Gemfile

    solnic committed Mar 27, 2015
  2. @solnic

    Update travis

    solnic committed Mar 27, 2015
  3. @solnic

    Merge branch 'release-1.2'

    solnic committed Mar 27, 2015
  4. @envygeeks @solnic

    Add basic .travis.yml.

    envygeeks committed with solnic Mar 26, 2013
Commits on Mar 26, 2013
  1. @envygeeks

    Add basic .travis.yml.

    envygeeks committed Mar 26, 2013
Commits on Apr 8, 2012
  1. @dkubb
Commits on Apr 7, 2012
  1. @dkubb

    Merge pull request #40 from yevgenko/patch-1

    add missed block variables
    dkubb committed Apr 7, 2012
  2. @dkubb
  3. @dkubb

    Refactor mysql rename column statement generation

    * Simplify code
    * Fix to not lose the default value for NOT NULL columns (previous code had a
      bug here)
    * Change base property_schema_statement method to only add a default to the
      statement if it is non-NULL
    dkubb committed Apr 7, 2012
  4. @dkubb
  5. @dkubb
  6. @postmodern @dkubb
  7. @postmodern @dkubb
  8. @rindek @dkubb

    fix for sqlite

    rindek committed with dkubb Nov 29, 2011
  9. @rindek @dkubb

    again - fix for mysql rename

    rindek committed with dkubb Nov 29, 2011
  10. @rindek @dkubb

    rename statement fix

    rindek committed with dkubb Nov 29, 2011
  11. @dkubb
  12. @postmodern @dkubb
  13. @postmodern @dkubb

    Added Migration#select.

    postmodern committed with dkubb Apr 3, 2012
Commits on Mar 13, 2012
  1. @patcheng
Something went wrong with that request. Please try again.