EverWrath/data/sql/updates/pending_db_auth/create_sql.sh
Yehonal b03b420813 fixed import.sh and implemented new optional workflow for pendings sql
Now devs can create sql for their pull requests that will be
automatically imported and _decorated_ by a protection system
and avoid to multiple import same queries
2016-08-29 09:49:45 +02:00

7 lines
227 B
Bash

#!/usr/bin/env bash
CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )/" && pwd )";
rev=$( date +%s%N );
echo "INSERT INTO version_db_auth(\`sql_rev\`) VALUES ('"$rev"');" > "$CUR_PATH/rev_"$rev".sql" && echo "File created";