latest sources commit
This commit is contained in:
0
data/sql/updates/pending_db_auth/.dummy
Normal file
0
data/sql/updates/pending_db_auth/.dummy
Normal file
15
data/sql/updates/pending_db_auth/create_sql.sh
Normal file
15
data/sql/updates/pending_db_auth/create_sql.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
unamestr=`uname`
|
||||
if [[ "$unamestr" == 'Darwin' ]]; then
|
||||
date='gdate'
|
||||
else
|
||||
date='date'
|
||||
fi
|
||||
|
||||
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )";
|
||||
|
||||
rev=$( $date +%s%N );
|
||||
filename=rev_"$rev".sql
|
||||
|
||||
echo "--" > "$CUR_PATH/$filename" && echo "File created: $filename";
|
||||
Reference in New Issue
Block a user