Sha256: 3796d9c84505424416a5f843f1d29aaa495e7a37562502bc08cab3bcefcdfc2e

Contents?: true

Size: 475 Bytes

Versions: 9

Compression:

Stored size: 475 Bytes

Contents

require 'hippo'
require 'active_support/core_ext/string/strip'
require 'fileutils'
## quite a bit of this is cribbed from Sinatra ActiveRecord

load 'active_record/railties/databases.rake'
require 'rake'


namespace :db do

    task :environment do
        Hippo::DB.configure_rake_environment
    end

    desc "create an ActiveRecord migration"
    task :create_migration,[ :name ] do | t, args |
        Hippo::DB.create_migration( "create_" + args[:name] )
    end


end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hippo-fw-0.9.9 tasks/migrations.rake
hippo-fw-0.9.8 tasks/migrations.rake
hippo-fw-0.9.7 tasks/migrations.rake
hippo-fw-0.9.6 tasks/migrations.rake
hippo-fw-0.9.5 tasks/migrations.rake
hippo-fw-0.9.4 tasks/migrations.rake
hippo-fw-0.9.3 tasks/migrations.rake
hippo-fw-0.9.2 tasks/migrations.rake
hippo-fw-0.9.1 tasks/migrations.rake