Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions bin/createdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
echo "CREATE DATABASE $1 CHARACTER SET ${2:-"utf8"} COLLATE ${3:-"utf8_general_ci"};" \
| `dirname $0`/dev myroot
#exit $?
2 changes: 1 addition & 1 deletion bin/dev_command/down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

dc yml_all;
#dc yml_all;
dc mode 'down -v';

dc run "$@";
Expand Down
4 changes: 4 additions & 0 deletions bin/dropdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
echo "DROP DATABASE $1;" \
| `dirname $0`/dev myroot
#exit $?
3 changes: 3 additions & 0 deletions bin/myroot
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
`dirname $0`/dev `basename $0` "$@"
exit $?