Skip to content

Commit

Permalink
Update for local elections
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdobrev committed Oct 29, 2023
1 parent b16e776 commit cc9246f
Show file tree
Hide file tree
Showing 8 changed files with 11,842 additions and 25,347 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"prepare": "husky install",
"prebuild": "rimraf dist",
"build": "nest build",
"postbuild": "cp -r src/seeds/parl-* src/seeds/*.csv dist/seeds/",
"postbuild": "cp -r src/seeds/20* src/seeds/*.csv dist/seeds/",
"start": "nest start",
"prestart:dev": "mkdir -p dist/seeds && cp -r src/seeds/parl-* src/seeds/*.csv dist/seeds/",
"prestart:dev": "mkdir -p dist/seeds && cp -r src/seeds/20* src/seeds/*.csv dist/seeds/",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
Expand Down
1 change: 1 addition & 0 deletions scripts/init.sql
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CREATE DATABASE "ti_broish" ENCODING 'UTF-8';

2 changes: 1 addition & 1 deletion src/seeds/1607202587052-Sections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class Sections1607202587052 implements MigrationInterface {
`)
;(
await csvToSql(
__dirname + '/parl-2023-04-02/sections-2023-04-02.csv',
__dirname + '/2023-10-29/sections-2023-10-29.csv',
'sections_seed',
)
)
Expand Down
File renamed without changes.
11,838 changes: 11,838 additions & 0 deletions src/seeds/2023-10-29/sections-2023-10-29.csv.bak

Large diffs are not rendered by default.

12,976 changes: 0 additions & 12,976 deletions src/seeds/parl-2021-07-11/sections-2021-07-11.csv

This file was deleted.

12,368 changes: 0 additions & 12,368 deletions src/seeds/parl-2023-04-02/sections-2023-04-02.csv

This file was deleted.

0 comments on commit cc9246f

Please sign in to comment.