Skip to content

Commit 67faa73

Browse files
update readme for populating the dummy data
1 parent 911fe12 commit 67faa73

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

db/src/sample_data/README.md

+1-16
Original file line numberDiff line numberDiff line change
@@ -1,16 +1 @@
1-
Sample data in this directory was generated using `datafiller` utility
2-
you can install it like so
3-
4-
```shell
5-
wget -q https://raw.githubusercontent.com/memsql/datafiller/master/datafiller -O /usr/local/bin/datafiller \
6-
&& chmod +x /usr/local/bin/datafiller
7-
```
8-
9-
after it's installed, you can generate sample data using a comand like the one below
10-
11-
```shell
12-
( \
13-
cd db/src/data && \
14-
cat users.sql items.sql subitems.sql | datafiller --size=2 > ../sample_data/data.sql \
15-
)
16-
```
1+
In file `data.sql` we populate with random data our tables with help of csv.

0 commit comments

Comments
 (0)