diff options
Diffstat (limited to 'db/migrate.rb')
| -rw-r--r-- | db/migrate.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate.rb b/db/migrate.rb new file mode 100644 index 00000000..90fd4a55 --- /dev/null +++ b/db/migrate.rb @@ -0,0 +1,14 @@ +require 'rubygems' +require 'active_record' + +ActiveRecord::Base.establish_connection( + :adapter=>'mysql2', + :hostname => 'localhost', + :username => 'root', + :password => 'MPJzfq97', + :database => 'vanbtc', + :reconnect => true +) + +ActiveRecord::Migration.verbose = true +ActiveRecord::Migrator.migrate "migrations/" |
