1218 Commits

Author SHA1 Message Date
Hannah Wolfe
f72892b5b9 Distinct modifier support for aggregate functions
closes #1028

- add support for count(distinct *), avg(distinct *) and sum(distinct *)
- min and max don't really make sense with distinct, so didn't add those
2015-11-09 12:48:42 +00:00
Rhys van der Waerden
360ffc77d3 release 0.9.0 0.9.0 2015-11-02 14:54:38 +11:00
Rhys van der Waerden
de5bfda2e4 Merge pull request #969 from tgriesser/feature/0.9-changelog
Add changelog for 0.9.
2015-11-02 14:42:44 +11:00
Rhys van der Waerden
0201ebfc15 Add changelog for 0.9 2015-11-02 14:41:40 +11:00
Rhys van der Waerden
6335b683ab Merge pull request #1042 from tgriesser/travis-node-v5.x
Add Travis testing for Node v5.x
2015-11-02 14:40:21 +11:00
blah238
c39c712a68 Add Travis testing for Node v5.x 2015-10-31 22:17:30 -05:00
blah238
4a5f223657 Simplify migrate.latest example, improve formatting 2015-10-29 19:43:38 -05:00
blah238
72b0cbc44a Merge pull request #1017 from sombriks/patch-1 2015-10-29 19:42:38 -05:00
blah238
05ffb457a8 Document TableCompiler#index indexType parameter and improve formatting 2015-10-29 19:00:13 -05:00
Emil Ong
350a307c53 Add docs for table index modification functions, index/dropIndex 2015-10-29 11:35:47 -07:00
blah238
aaf0739736 Merge pull request #1033 from blah238/travis-node-v4.x
Add Travis testing for Node v4.x
2015-10-28 18:23:11 -05:00
blah238
1ee32292d4 Add Travis testing for Node v4.x
- Update node-mariasql to 0.2.x
 - Closes #970
 - Closes #977
 - Closes #995
2015-10-27 17:38:56 -05:00
Rhys van der Waerden
3f0a8737ce Merge pull request #1029 from codydaig/patch-1
[doc] Update Examples of defaultTo in Docs  [closes #699]
2015-10-24 16:19:58 +11:00
Cody B. Daig
099c4bd3f9 Remove indentation in example 2015-10-22 17:54:24 -07:00
Cody B. Daig
e0bdbefd74 Update index.html 2015-10-22 16:22:05 -07:00
Cody B. Daig
11a6d6f3c2 [doc] Update Examples of defaultTo in Docs 2015-10-20 17:21:27 -07:00
Rhys van der Waerden
268b377a51 Merge pull request #1019 from blah238/npm-test-improvements
NPM test script improvements
2015-10-13 08:00:27 +11:00
blah238
39031c4006 NPM test script improvements
- Add 'npm run babel' command and run it on 'npm test' (supersedes PR #1011 - Ensure /lib is up to date during CI tests)
  - Fix 'npm test' command not working on Windows due to Istanbul config issue (see https://github.com/gotwarlost/istanbul/issues/90)
  - Update CONTRIBUTING.md
2015-10-12 15:32:59 -05:00
Sombriks
5c196706e0 how to chain migrate sample
Adding example on how to execute some code only when all migration files finished their execution
2015-10-10 00:42:04 -03:00
Rhys van der Waerden
4304e38115 Merge pull request #1005 from realtymaps/master
documentation for using JSON array values
2015-10-04 13:28:58 +11:00
Joe Ibershoff
f8735cb67e documentation for using JSON array values 2015-09-30 10:17:06 -04:00
Rhys van der Waerden
775d6c2af7 Merge pull request #986 from juanjoLenero/document-connectionless-use
Document connectionless use case
2015-09-22 14:17:27 +10:00
Juan Jose Lenero Lozano
f4139c34be Document connectionless use case 2015-09-20 20:57:24 -05:00
Rhys van der Waerden
3a5ae73112 Merge pull request #985 from maxcnunes/english-typos
Fix some english typos
2015-09-21 09:52:20 +10:00
Max Claus Nunes
58ae4d2455 Fix some english typos 2015-09-20 10:37:28 -03:00
harriha
c41ffdb02a Update lib/ via running 'npm run dev' 2015-09-08 14:00:17 +10:00
harriha
b764793628 Document transactions in migrations 2015-09-08 13:59:27 +10:00
harriha
b1f2c258df Allow enabling/disabling transaction per-migration
Not just disabling transaction per-migration, but also enabling
it in case transactions were turned globally off with
config.disableTransactions.
2015-09-08 13:59:27 +10:00
harriha
3d85822a28 Add integration tests for per-migration transactions
Since per-migration config is defined in the migration files
themselves, new test migration files are needed.
2015-09-08 13:59:27 +10:00
harriha
a095feee21 Add a test for checking migrations with all transactions disabled 2015-09-08 13:59:27 +10:00
harriha
e614e89d22 Add missing return 2015-09-08 13:59:26 +10:00
Rhys van der Waerden
beaccbf898 Merge pull request #958 from harriha/bugfix/allow-zero-in-join-clause
Allow zero in join clause, fixes #953
2015-09-08 13:11:40 +10:00
Rhys van der Waerden
647393c9e1 Merge pull request #964 from gangstead/numeric-docs
Clarify documentation for defaults for precision and scale
2015-09-04 09:45:06 +10:00
Steve Gangstead
187cad5068 Clarify documentation for defaults for precision and scale 2015-09-03 18:14:39 -05:00
Rhys van der Waerden
482451d019 Merge pull request #959 from MWGitHub/patch-1
Fix small grammar error in docs
2015-09-02 18:11:32 +10:00
Mike
21ce641bea Fix small grammar error in docs 2015-09-01 09:46:15 -04:00
harriha
478b03e106 Update lib/ via running 'npm run dev' 2015-08-30 23:34:09 +03:00
harriha
4026da3f9a Check for undefined explicitly. Fixes #953.
Value 0 didn't work as expected with the previous check.
2015-08-30 23:28:14 +03:00
harriha
5003b41dae Add tests for a join with value 0 2015-08-30 23:21:11 +03:00
Rhys van der Waerden
4fe10df691 Merge pull request #952 from tschuy/master
Specify how migration cli chooses environment
2015-08-28 17:43:56 +10:00
Evan Tschuy
1aada60f4b specify how migration cli chooses environment 2015-08-27 15:25:30 -07:00
Rhys van der Waerden
fc6a7e2825 Merge pull request #946 from elhigu/postgres-question-mark-escaping-support
Postgres question mark escaping support
2015-08-25 17:52:51 +10:00
Mikael Lepistö
fef0a09197 Did npm run build 2015-08-25 10:23:34 +03:00
Mikael Lepistö
596356f205 Added documentation about PostgreSQL \? escaping. 2015-08-25 10:19:35 +03:00
Mikael Lepistö
b9d9a99f80 Added \? escape sequence to postgres dialect to allow using ? operator. 2015-08-25 10:19:35 +03:00
Rhys van der Waerden
255daec9c8 Merge pull request #518 from danieltdt/schema-support
Add postgres schema support
2015-08-16 15:58:21 +10:00
Daniel Teixeira
9b94cfa1fe add documentation for .withSchema methods 2015-08-14 19:45:38 -03:00
Daniel Teixeira
8e780a8115 rename .using to .withSchema 2015-08-14 19:17:06 -03:00
Daniel Teixeira
70e4692638 add support to postgres search_path 2015-08-09 23:04:57 -03:00
Daniel Teixeira
3f8f50425f add schema support for schema builder 2015-08-09 23:04:53 -03:00