Add .gitreview for gerrit-review and git-review scripts.

Change-Id: I1485931725402ee493b42e824d904a7abc7b60a0
Remove stutters.

Change-Id: I7ec9bf398f41116c139c4986f199008334b8c0e8
When referring to grant and revoke: s/permissions/privileges/g.

Change-Id: I71d9f100c8a5998bbc1e167ae847c520a35c61d2
Replace Tuple2[A,B] with idiomatic (A,B).

Change-Id: Iea8173573329620583690b442979e480c9b99944
Migration#grant() documentation fix.

Change-Id: I8632d104ef09e4091ed47621a196c2b8e2f7e469
Add 'val vendor' to DatabaseAdapter to get the db vendor.

Change-Id: I030b2e21849e01308d527039dfc3a025280a2b2f
Add 'def databaseVendor' to Migration to get the db vendor.

Change-Id: Ib82f7253d6fc3cfffaf6a6519bd4055e9a596646
DatabaseAdapter#grantRevokeCommon() now uses schema_name_opt arg.

Change-Id: I98ab96a0c2437a70d8cdbfe333817af893ce7e8d
Refactor GrantPrivilegeType to String code into new method.

Change-Id: I0448ac3c1b3f873db62e775e47205b57b7f86dd5
Document DatabaseAdapter#quote{Column,Table}Name().

Change-Id: Iae5fb86137ba3bd2645747738fccdb0b246e96ce
Add and use DatabaseAdapter#quoteIndexName().

Add this method even though it is identical to quoteColumnName() to
make it clear what type of name is being quoted.

* src/main/scala/com/imageworks/migration/DatabaseAdapter.scala
  (DatabaseAdapter#quoteIndexName):
    New method.

* src/main/scala/com/imageworks/migration/Migration.scala
  (Migration#addIndex):
    Use quoteIndexName() instead of quoteColumnName() when quoting an
    index name.

Change-Id: Icf43774d9d866e1ad8900e9aff52ae0f04bb1e3e
Add and use DatabaseAdapter#quoteSchemaName().

This method will be used in granting and revoking priveleges on a
schema in later commits.

Change-Id: I9390b694317da4bb418422a1f95912b46cd7b73b
Limit() exception message updated to match code.

Change-Id: I189e358d18e04ae3a261c58f0c6eb688e321cd8a
Document Limit(expr: String)'s thrown exceptions.

Change-Id: I942142eceab9e80c69680cdc5fddacaf523f7140
Add unit tests to assert Limit()'s behavior.

Change-Id: I7bf839516c027af910a80161344b199d830e0092
Merge branch 'limit-constructor'

Change-Id: Ia08da1b8496fbbd2c42ac838dd8b5c3c446a44a4
Derby 10.2 and greater: BLOB supports an optional length.

Derby 10.1 [1] requires a length for a BLOB while Derby 10.2 [2] and
greater make the length optional.

[1] http://db.apache.org/derby/docs/10.1/ref/rrefblob.html
[2] http://db.apache.org/derby/docs/10.2/ref/rrefblob.html

Change-Id: I078b35ce84501aaed45971d4a4a28199d7d6387e
Merge branch 'derby-blob-length-is-optional'

Change-Id: Ic943f1b490b833c5aa05966b403b513705b758ef
PostgreSQL 9.1's BYTEA column type supports default values.

=> CREATE TABLE t (c CHAR, b BYTEA NOT NULL DEFAULT E'\\xDEADBEEF');
CREATE TABLE
=> INSERT INTO t (c) VALUES ('x');
INSERT 0 1
=> SELECT * FROM t;
 c |     b
---+------------
 x | \xdeadbeef
(1 row)

=> \d t
                       Table "public.t"
 Column |     Type     |              Modifiers
--------+--------------+--------------------------------------
 c      | character(1) |
 b      | bytea        | not null default '\xdeadbeef'::bytea

Change-Id: I2aac1e49e858a42484e46d345e9cefa0b2cf074f
Merge branch 'postgresql-bytea-supports-default'

Change-Id: I10d6a337ed0c11b2d92e2ae4e6a1f5afbb5fb0fb