Sha256: c7019a92383b2223142b9b830837be82142af0ba77cadfb4d8a5a3a28fdad599

Contents?: true

Size: 388 Bytes

Versions: 6

Compression:

Stored size: 388 Bytes

Contents

namespace :db do
  desc "bring your CAS server database schema up to date (options CONFIG=/path/to/config.yml)"
  task :migrate do |t|
    $:.unshift File.dirname(__FILE__) + "/../../lib"
    
    require 'casserver/server'
    
    CASServer::Model::Ticket.logger = Logger.new(STDOUT)
    ActiveRecord::Migration.verbose = true
    ActiveRecord::Migrator.migrate("db/migrate")
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
synapse-rubycas-server-1.1.6 tasks/db/migrate.rake
synapse-rubycas-server-1.1.5.pre tasks/db/migrate.rake
synapse-rubycas-server-1.1.4.pre tasks/db/migrate.rake
synapse-rubycas-server-1.1.4 tasks/db/migrate.rake
synapse-rubycas-server-1.1.3alpha tasks/db/migrate.rake
synapse-rubycas-server-1.1.3.pre tasks/db/migrate.rake