Sha256: 06bb07ab723f22f0980a263e3cf939fd1d73e95a91015107962a132b1c8f36e6
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 Bytes
Contents
# Helper for sqlite scripts. # # === Example # # sqlite 'filename', %{ # drop database if exists weblog_development; # create database weblog_development; # grant all on weblog_development.* to #{`id -un`.strip}@localhost; # } def sqlite(opts, stream) IO.popen("mysql #{opts}", 'w') do |io| io.puts stream end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
og-0.41.0 | lib/og/adapter/sqlite/script.rb |
og-0.40.0 | lib/og/adapter/sqlite/script.rb |