Skip to content

Commit

Permalink
updated samples, README and MMPTask.php for new alias feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Furlender authored and Arbuzov committed May 5, 2016
1 parent c75b1ae commit 0ec5738
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
13 changes: 12 additions & 1 deletion phing/MMPTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,18 @@ public function setDb($str) {
public function setVersiontable($str) {
$this->params['versiontable'] = $str;
}

/**
* The setter for params["aliastable"]
*/
public function setAliastable($str) {
$this->params['aliastable'] = $str;
}
/**
* The setter for params["aliasprefix"]
*/
public function setAliasprefix($str) {
$this->params['aliasprefix'] = $str;
}
/**
* The setter for params["savedir"]
*/
Expand Down
2 changes: 2 additions & 0 deletions phing/README
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Phing build.xml example:
savedir="db"
verbose="Off"
versiontable="db_revisions"
aliastable="db_alias"
aliasprefix="project_v"
exclude_tables="authors, books"
config_file="config.ini"
action="migrate"
Expand Down
4 changes: 3 additions & 1 deletion phing/build.xml.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
savedir="db"
verbose="Off"
versiontable="db_revisions"
aliastable="db_alias"
aliasprefix="project_v"
exclude_tables=""
action="migrate"
action_options="now"
/>
</target>
</project>
</project>

0 comments on commit 0ec5738

Please sign in to comment.