Sha256: d516abc429b0302cf03aa555dfd9e5c94b95949601cd3434e00c0fb526baf2cd

Contents?: true

Size: 610 Bytes

Versions: 1

Compression:

Stored size: 610 Bytes

Contents

gem "mysql2"

if scroll?("eycloud")
  @db_stack = "mysql"
end

after_bundler do
  rake "db:create:all" if config['auto_create']
  
  rakefile("sample.rake") do
<<-RUBY
namespace :db do
  desc "Populate the database with sample data"
  task :sample => :environment do
    
  end
  task :populate => :sample
end
RUBY
  end
end

__END__

name: MySQL
description: Use MySQL for dev & production database
author: drnic

exclusive: orm
category: persistence

run_before: [eycloud]

args: -d mysql

config:
  - auto_create:
      type: boolean
      prompt: "Create local MySQL databases with default configuration?"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appscrolls-0.8.0 scrolls/mysql.rb