Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

画像の存在しない戦歴にはog:imageを適用 #106

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mirror-kt
Copy link
Member

#104 に対するPull Request

@mirror-kt mirror-kt changed the title 画像の存在しない戦歴にはog:imageを適用 [WIP] 画像の存在しない戦歴にはog:imageを適用 Apr 22, 2019
@mirror-kt

This comment has been minimized.

@gedorinku

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@gedorinku

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@gedorinku

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@gedorinku

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@gedorinku

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@gedorinku

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@gedorinku

This comment has been minimized.

@gedorinku

This comment has been minimized.

@mirror-kt

This comment has been minimized.

@mirror-kt mirror-kt changed the title [WIP] 画像の存在しない戦歴にはog:imageを適用 画像の存在しない戦歴にはog:imageを適用 Aug 6, 2019
@mirror-kt mirror-kt requested a review from gedorinku August 6, 2019 16:11
@mirror-kt
Copy link
Member Author

debugged.
Go Pathのせいでした(Goの仕様をよく調べてなかった

Copy link
Member

@gedorinku gedorinku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UpdateAchievementした直後にユーザーが戦歴の画像を更新したら、og:imageかユーザーが指定した画像か、どちらが最終的に残るか不定になっちゃいそうですね。

og:imageのURLは別のカラムに保存するのが良いかなと思います。

DBのスキーマ達(Active Record風):
https://github.com/ProgrammingLab/prolab-accounts/tree/master/db
これを変更した後に、

$ scripts/setup-db
$ go generate ./...

するとDBのスキーマが変更できます。

@mirror-kt
Copy link
Member Author

Screenshot from 2019-08-11 17-09-04
ドライバーが見つからない・・・?

@gedorinku
Copy link
Member

configのuserというキーが見つからないと言われているので、sqlboiler.tomlが間違っていそう。

@mirror-kt
Copy link
Member Author

Screenshot from 2019-08-11 17-55-58

@gedorinku
Copy link
Member

host が間違ってるので.envDATABASE_URLと合わせると良さそう。(あとログはテキストとして貼ってくれたほうがうれしい)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants