Skip to content

Instantly share code, notes, and snippets.

@tikitikipoo
Last active August 29, 2015 14:13
Show Gist options
  • Save tikitikipoo/2e71022b39ab76a37366 to your computer and use it in GitHub Desktop.
Save tikitikipoo/2e71022b39ab76a37366 to your computer and use it in GitHub Desktop.
vagrant ssh ubuntu14
sudo su postgres
psql
drop database webapp;
CREATE DATABASE webapp OWNER=webapp ENCODING='UTF8' template=template0 LC_COLLATE='ja_JP.UTF-8' LC_CTYPE='ja_JP.UTF-8';
¥q(ログアウト)
exit(postgresユーザーログアウト)
cd /srv/application/current/
CAKE_ENV=development ./app/Console/cake Migrations.migration run all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment