This repository has been archived by the owner. It is now read-only.
Permalink
Commits on Aug 24, 2018
  1. Link to LuckyRecord

    paulcsmith committed Aug 24, 2018
Commits on Aug 21, 2018
  1. Exclude binary files by default (#129)

    lee-b authored and paulcsmith committed Aug 21, 2018
    * Ignore binaries by default
    
    * Remove gen.migration binary
  2. Support one or more columns when creating an index (#127)

    jayroh authored and paulcsmith committed Aug 21, 2018
    Some indexes need to be applied across multiple columns. This commit
    allows us to pass not only one symbol, but an array of symbols that can
    be used when creating the SQL string.
Commits on Aug 20, 2018
  1. Add `./bin/setup` script (#126)

    jayroh authored and paulcsmith committed Aug 20, 2018
    Because anyone coming into the project hoping to contribute should be
    able to get up and running as quick as possible.
    
    I relatively quickly figured out what I needed to run but it wasn't
    necessarily right off the bat.
Commits on Aug 7, 2018
Commits on Aug 2, 2018
  1. UUID reference helpers (#118)

    hanneskaeufler authored and paulcsmith committed Aug 2, 2018
    * Allow using uuids in reference helpers
    
    * Add index verifications in specs
    
    * Replace conditional by lookup
    
    * Align hash values
Commits on Jul 26, 2018
  1. Add --quiet option on DB::Create and DB::Migrate (#119)

    mikeeus authored and paulcsmith committed Jul 26, 2018
    * Add quiet option to db.create
    
    * Fix typo
    
    * Use ARGV to set @quiet
    
    * Handle exception cases, make down method call more readable
    
    * Remove ARGV calls
    
    * Change log to quiet on migration#up and #down
    
    * Remove ARGV
Commits on Jul 14, 2018
  1. Support uuid column types (#115)

    hanneskaeufler authored and paulcsmith committed Jul 14, 2018
Commits on Jul 12, 2018
  1. Properly indent commented migration sample, closes #89 (#116)

    hanneskaeufler authored and paulcsmith committed Jul 12, 2018
  2. Use `SET NULL` instead of `NULLIFY`. (#117)

    oneiros authored and paulcsmith committed Jul 12, 2018
    * Use `SET NULL` instead of `NULLIFY`.
    
    According to
    
    https://www.postgresql.org/docs/9.5/static/ddl-constraints.html
    
    this should be the right syntax. See #111
    
    * Remove trailing whitespace.
    
    * Use on delete strategies consistently.
    
    Use the same code to generate correct SQL for create
    table and create foreign key statements.
Commits on Jul 4, 2018
  1. Allow empty table statements, fixes #105 (#114)

    hanneskaeufler authored and paulcsmith committed Jul 4, 2018
Commits on Jul 2, 2018
  1. Allow setting the primary key type (#112)

    hanneskaeufler authored and paulcsmith committed Jul 2, 2018
    * Allow setting the primary key type
    
    * Use an enum for primary key type
    
    * Add primary key option to table statement
    
    * Rename BigSerial to Serial
Commits on Jun 15, 2018
  1. Use Lucky master for v0.25 (#109) (#110)

    paulcsmith committed Jun 15, 2018
    * Use Lucky master for v0.25
    
    * Update Circle
  2. Use Lucky master for v0.25 (#109)

    paulcsmith committed Jun 15, 2018
    * Use Lucky master for v0.25
    
    * Update Circle
Commits on May 18, 2018
  1. Bump to 0.5.0 (#106)

    paulcsmith committed May 18, 2018
Commits on May 12, 2018
  1. Test custom migration

    paulcsmith committed May 12, 2018
  2. Use name if provided

    paulcsmith committed May 12, 2018
  3. Name should not be nil

    paulcsmith committed May 12, 2018
  4. v0.5.0-rc1

    paulcsmith committed May 12, 2018
  5. Allow passing name

    paulcsmith committed May 11, 2018
Commits on May 3, 2018
  1. Only show one message

    paulcsmith committed May 3, 2018
  2. Raise instead of calling `exit`

    paulcsmith committed May 3, 2018
    The `exit` calls were causing the program to exit immediately on
    failure.
    
    This meant that calling the tasks in spec helper would immediately stop
    the program, which is not what is intended. Instead raise an error with
    the correct colorization and message.
Commits on Apr 21, 2018
Commits on Apr 18, 2018
  1. Added bit more detail to migration failures as in luckyframework/luck…

    paulosuzart authored and paulcsmith committed Apr 18, 2018
    …y#388 (#95)
    
    * Added bit more detail to migration failures as in #388
    
    * Fixed formatting
Commits on Feb 27, 2018
  1. Add add_belongs_to for alter statements

    paulcsmith committed Feb 24, 2018
    Closes #93
  2. Add remove_belongs_to

    paulcsmith committed Feb 16, 2018
    Closes #96
  3. Require using TypeDeclaration with add_belongs_to

    paulcsmith committed Feb 16, 2018
    Also adds a nicer error message if you accidentally mess it up.
Commits on Feb 8, 2018
Commits on Feb 6, 2018
Commits on Dec 28, 2017
  1. Bump version to 0.4.1

    paulcsmith committed Dec 28, 2017