# File lib/arjdbc/tasks/mssql_database_tasks.rb, line 7 def purge test = deep_dup(configuration) test_database = resolve_database(test) test['database'] = 'master' establish_connection(test) connection.recreate_database!(test_database) end
# File lib/arjdbc/tasks/mssql_database_tasks.rb, line 15 def structure_dump(filename) config = config_from_url_if_needed `smoscript -s #{config['host']} -d #{config['database']} -u #{config['username']} -p #{config['password']} -f #{filename} -A -U` end
Generated with the Darkfish Rdoc Generator 2.