aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate.rb.sample
blob: 4e6a9f77a3ef40d8475890a095a2efbd3ead9086 (plain) (blame)
1
2
3
4
5
6
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special
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/"
ss="p">} </style> </head> <body>{{{yield}}}</body> </html>