app/server.rb in sqlui-0.1.21 vs app/server.rb in sqlui-0.1.22
- old
+ new
@@ -56,10 +56,10 @@
end
get "#{database.url_path}/metadata" do
metadata = database.with_client do |client|
{
- server: config.name,
+ server: "#{config.name} - #{database.display_name}",
schemas: DatabaseMetadata.lookup(client, database),
saved: Dir.glob("#{database.saved_path}/*.sql").map do |path|
comment_lines = File.readlines(path).take_while do |l|
l.start_with?('--')
end