aboutsummaryrefslogtreecommitdiffstats
path: root/views/setup.html
Path not found
afabd1736e3dec4bb05c377b2d28317c2fe'>blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'rubygems'
require 'active_record'

ActiveRecord::Base.establish_connection(
  :adapter=>'mysql2', 
  :hostname => 'localhost',
  :username => 'root',
  :password => '',
  :database => 'bitcoin_pos',
  :reconnect => true
)

ActiveRecord::Migration.verbose = true
ActiveRecord::Migrator.migrate "migrations/"