authserver/homestead/scripts/create-mysql.sh
author durandn
Thu, 10 Sep 2015 14:08:15 +0200
changeset 118 41a0e97a3a4c
parent 8 5a0cbbe0922a
permissions -rw-r--r--
Fixed "selected" not disappearing when clicking another segment on CurrentSegmentInfobox + added a selected state to AnnotationsController buttons to reflect AnnotationsList/CreateAnnotation shown/hidden state

#!/usr/bin/env bash

DB=$1;

mysql -uhomestead -psecret -e "DROP DATABASE IF EXISTS \`$DB\`";
mysql -uhomestead -psecret -e "CREATE DATABASE \`$DB\` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_unicode_ci";