Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 27, 2015
  1. @vandrijevik
Commits on May 26, 2015
  1. Merge pull request #172 from vandrijevik/fix-adapter-load-warning-mes…

    Use puts instead of p for multi-line message
Commits on May 25, 2015
  1. @vandrijevik
  2. @vandrijevik
  3. @vandrijevik
Commits on Mar 30, 2015
  1. Fix test

Commits on Jan 9, 2015
  1. @guiman

    Ensure Foreigner is loaded for Rails 4.1.9

    guiman authored
    When using Foreigner on Rails 4.1.9 and trying to run `schema::load`
    Foreigner has not been initialized yet so this methods don't exist.
    This change was introduced by the following Rails commit:
    * (rails/rails@5d6bb89)
    So in order to ensure Foreigner has been initialized and methods are
    present for `schema::load` to work correctly, we include `Foreigner.load`
    inside the `schema.rb` file before any of the foreign key methods.
    * Introduce Foreigner::Helper to store class level helpers
    * Simplify the way to determine which version of ActiveRecord is using
Commits on Dec 1, 2014
  1. @domcleal

    Prevent parsing comma in MySQL `SHOW CREATE TABLE` output

    domcleal authored
    When a foreign key has no ON DELETE or additional options, and is followed by
    a comma (i.e. the first of many), then the trailing comma was incorrectly
    parsed as a constraint option.  This caused 'options: ","' to appear in
Commits on Sep 29, 2014
  1. @jenseng

    preserve db-specific options in schema.rb, fixes #148

    jenseng authored
    basically any valid db-specific thing that you can already specify via
    `options: "..."` will be preserved on the way back out.
    for mysql that's:
    * `ON UPDATE <action>`
    for postgres that's:
    * `ON UPDATE <action>`
    * `ON DELETE SET DEFAULT` (doesn't map to a `:dependent` value)
    * `DEFERRABLE` (`NOT DEFERRABLE` is the default)
    * `NOT VALID`
    postgres' `MATCH <type>` is not supported, but that's already problematic
    for `:options` since it is incompatible with `:dependent` (due to where it
    appears in the statement), so ¯\_(ツ)_/¯
Commits on Feb 23, 2014
  1. @mceachen

    Merge branch 'ci_support'

    mceachen authored
  2. @mceachen
  3. @mceachen
Commits on Feb 22, 2014
  1. @mceachen
Commits on Feb 10, 2014
  1. @mceachen
  2. @mceachen
  3. @mceachen
  4. @mceachen
  5. @mceachen

    There was an extraneous semicolon, but mostly, I just want to be on t…

    mceachen authored
    …he git blame for a line that says "poops".
Commits on Sep 9, 2013
Commits on Jul 24, 2013
  1. Use ruby 1.9 hash syntax

  2. Fix tests for Rails 4

Commits on Feb 7, 2013
  1. @xpe

    fix failing test, change passing test

    xpe authored
    (But I'm not done yet.)
  2. @xpe

    add failing test

    xpe authored
    (Note: the first argument of assert_equal is the expected value.)
Commits on Jan 14, 2013
  1. Rails 4.0 supports adding indexes during create_table. We shall do th…

    …e same for foreign_keys.
    spread out some code. Make table_definitions test work
    test file
    fix up create_table override
Commits on Aug 9, 2012
  1. Take account of table_name_prefix option.

    Kyle Stevens authored
    The Rails option for table_name_prefix and table_name_suffix means they
    must be removed when doing a schema dump.
Commits on Jul 18, 2012
  1. adapter test

Commits on Apr 4, 2012
Commits on Feb 15, 2012
  1. tests for drop_table

  2. improve testing setups

Commits on Sep 7, 2011
  1. @hms

    Foreigner now honors ignore in schemadummper

    hms authored
    The SchemaDumper can be set to ignore tables -- so they are not written
    out on a call to the SchemaDumper.
    Prior to this change, Foreigner would write out *ALL* foreign keys,
    even for tables that were not being processed.  With this change,
    foreigner will now only process foreign keys on tables that are
    being processed by the SchemaDumper.
Commits on Aug 9, 2011
Commits on Jul 29, 2011
  1. * Add Gemfile

    * Only require active_record rather than all of rails
    * Fix support for certain versions of rails that pass an unecessary hash to drop_table
Something went wrong with that request. Please try again.