pg_conn 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pg_conn/rdbms_methods.rb +1 -1
- data/lib/pg_conn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ecdb9e5679acd6da6db9b98fc179941b5752727f7ec064bbb3168ed3ca33d33
|
4
|
+
data.tar.gz: 28152343bf4490ad17f770799e4fa211662cab13cc19c639049d465a4c610f2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68767284661c94cc8c0a5e610d967bfe8e31db67cf3a6998b68895ba1f0ca30e003e68036ac6e23788e0175226cb77a06c1ea883362dfb5386874aeeed21928c
|
7
|
+
data.tar.gz: 251335c7c53cfd1cfac031576bb854aada2e034e64587a58932eb63cce35f48e9867579c52bcc48d91368e93d6d7beaddc1c5334c2207d063684cdbea4335ec4
|
@@ -31,7 +31,7 @@ module PgConn
|
|
31
31
|
|
32
32
|
# Drop a database
|
33
33
|
def drop(database, force: false)
|
34
|
-
conn.execute "drop database if exists \"#{database}\"#{force ? ' with force' : ''}"
|
34
|
+
conn.execute "drop database if exists \"#{database}\"#{force ? ' with (force)' : ''}"
|
35
35
|
true
|
36
36
|
end
|
37
37
|
|
data/lib/pg_conn/version.rb
CHANGED