botpop/Rakefile
Arthur Poulet ea38305df9 Improve rights system
- remove admins from IAA plugin
- add users to Base plugin
- add rights system to Base plugin (with groups)
- update IAA to use Base
- remove Database::Admins extension
- some fixes
2015-08-24 15:21:35 +02:00

18 lines
346 B
Ruby

#encoding: utf-8
require 'yaml'
CONFIG = YAML.load_file("modules_config.yml")
#require 'sequel'
#DB_BASE = Sequel.connect(CONFIG['base']['database'])
#task :default => ["x:x"]
namespace :db do
task :install do
# TODO: use CONFIG['base']
`sequel -m plugins/base/migrations postgres://root:toor@localhost:5432/botpop_base`
end
end