Skip to content

Instantly share code, notes, and snippets.

@motorro
Created March 13, 2020 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save motorro/0a3d3dfbd265ff2ef563c71ad062c7a0 to your computer and use it in GitHub Desktop.
Save motorro/0a3d3dfbd265ff2ef563c71ad062c7a0 to your computer and use it in GitHub Desktop.
Building database
$ npx gulp cities
[11:52:21] Requiring external module ts-node/register
[11:52:23] Using gulpfile ~\Work\Projects\room-populate-demo\script\gulpfile.ts
[11:52:23] Starting 'cities'...
Getting latest schema...
Found latest version: 1
Populating Cities database...
Populating Cities table...
Invalid city: 6255146
Invalid city: 6255147
Invalid city: 6255148
Invalid city: 6255149
Invalid city: 6255150
Invalid city: 6255151
Invalid city: 6255152
Invalid city: 6295630
Cities populated.
Valid records: 209572
Invalid records (8): [ 6255146,
6255147,
6255148,
6255149,
6255150,
6255151,
6255152,
6295630 ]
Total time: a few seconds
Current version: 1. New version: 2
[11:52:34] Finished 'cities' after 12 s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment