Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #95 from doug-martin/master
Browse files Browse the repository at this point in the history
v0.2.16
  • Loading branch information
doug-martin committed Feb 19, 2014
2 parents c31b7a8 + 0513f8e commit c50500f
Show file tree
Hide file tree
Showing 7 changed files with 6,832 additions and 6,824 deletions.
4 changes: 4 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.2.16

* Fixed constraint creation to accept a function when creating or altering constraints.

#v0.2.15

* Updated patio migrate to use an exit code of `1` if the migration fails. [#92](https://github.com/C2FO/patio/issues/92)
Expand Down
6,820 changes: 3,410 additions & 3,410 deletions docs-md/coverage.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/History.html
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,10 @@



<h1>v0.2.16</h1>
<ul>
<li>Fixed constraint creation to accept a function when creating or altering constraints.</li>
</ul>
<h1>v0.2.15</h1>
<ul>
<li>Updated patio migrate to use an exit code of <code>1</code> if the migration fails. <a href="https://github.com/C2FO/patio/issues/92">#92</a></li>
Expand Down
6,820 changes: 3,410 additions & 3,410 deletions docs/coverage.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/patio_AlterTableGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -885,8 +885,8 @@ <h3>
<em>Source</em>
<pre class="prettyprint linenums lang-js">
function (name){
var args = argsToArray(arguments);
var block = isFunction(args[args.length - 1]) ? args.pop() : null;
var args = argsToArray(arguments).slice(1);
var block = isFunction(args[args.length - 1]) ? args[args.length - 1]() : null;
this.operations.push({op:&quot;addConstraint&quot;, name:name, type:&quot;check&quot;, check:block || args});

}
Expand Down
2 changes: 1 addition & 1 deletion docs/patio_SchemaGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ <h3>
<em>Example</em>
<pre class="prettyprint linenums lang-js">
DB.createTable(&quot;test&quot;, function(){
this.constraint(&quot;blah&quot;, {num : {between : [1,5])
this.constraint(&quot;blah&quot;, {num : {between : [1,5]}})
//=&gt; CONSTRAINT blah CHECK num &gt;= 1 AND num &lt;= 5
this.check(&quot;foo&quot;, function(){
return this.num.gt(5);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "patio",
"description": "Patio query engine and ORM",
"version": "0.2.15",
"version": "0.2.16",
"keywords": [
"ORM",
"object relation mapper",
Expand Down

0 comments on commit c50500f

Please sign in to comment.