Skip to content

Commit

Permalink
chore: メンバー情報更新
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoichi206 committed Feb 18, 2023
1 parent c48c973 commit 022685c
Show file tree
Hide file tree
Showing 6 changed files with 542 additions and 42 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ indent_size = 2

[*.go]
indent_style = tab

[Makefile]
indent_style = tab
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ migrateup:
migratedown:
migrate -path migrations -database "$(DB_URL)" -verbose down

migrateclear: # migrate に失敗したものを更新する。
psql -h localhost -p 5432 -U ubuntu -d sakamichi -c "UPDATE schema_migrations SET dirty='f';"

mock:
mockgen -package mockdb -destination db/mock/querier.go github.com/android-project-46group/api-server/db Querier

Expand Down
2 changes: 2 additions & 0 deletions db/data/db_insert_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func InsertMain() {
InsertMembersNogi()
InsertMembersSakura()
InsertMembersHinata()
UpdateGraduatedMembersNogi()

// locales
InsertLocales()
Expand All @@ -41,6 +42,7 @@ func InsertMain() {
InsertMemberInfosHinata()
InsertMemberInfosNogi()
InsertMemberInfosSakura()
InsertGraduatedMemberInfos()

// tags table
InsertTags()
Expand Down
Loading

0 comments on commit 022685c

Please sign in to comment.