dbx 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/dbx/version.rb +1 -1
- data/lib/dbx.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 525a1090df1d4a2bdb7ab5344713feb61fcd0472
|
|
4
|
+
data.tar.gz: fd898cfa3ad0dd9828fce7e9298d4b5e96b1a80a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9b291215ec8b30f1b18bf3c61a8496a1d48333aa7f07c53712fe9b0916fc308ed3d90b7255e2a77ec21bc847c4a008f2235584d859233942b04dc01e8038f60
|
|
7
|
+
data.tar.gz: 9bef8ebe53be8555925dda68849927e2345e553527046e8fd10940484e499a47762fc5949b9a994071d4d0302c51769f15f7bbad27790b27d3793d951bdf93d8
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ We currently only support Postgres database, but others will be supported soon.
|
|
|
8
8
|
|
|
9
9
|
### Import CSV file into database
|
|
10
10
|
|
|
11
|
-
Column type detection is performed based on column contents. By default the new table name will be the file name minus its extension, indexes are added to column
|
|
11
|
+
Column type detection is performed based on column contents. By default the new table name will be the file name minus its extension, indexes are added to column matching `^(\w+_id|id)$`.
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
dbx import path/to/data.csv --name data_v1 --db postgres://localhost/scratch --column-patterns _ref$:string
|
data/lib/dbx/version.rb
CHANGED
data/lib/dbx.rb
CHANGED