ea38305df9
- 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
18 lines
346 B
Ruby
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
|
|
|