直近のイベント情報を格納するDBスキーマの定義 #287
Merged
Conversation
@AnaTofuZ 「未来のイベント」だと10年後とか20年後とかも意味合いとしては含まれてしまうから、今回の文脈では |
@yasulab なるほど |
@yasulab 名前を |
@AnaTofuZ FutureEvents から UpcomingEvents に変更されたコミットのログって残しておく必要ありますかね...? |
確かに結果的にはいらないですね…!!Squashしてみます |
特に今回の場合、PR内でマイグレーションが完結しているので、Squash しちゃった方が後からコミットログを見る人に親切そうです |
db/schema.rb
Outdated
@@ -61,6 +61,24 @@ | |||
t.index ["region"], name: "index_prefectures_on_region" | |||
end | |||
|
|||
create_table "recently_events", force: :cascade do |t| |
nalabjp
Mar 17, 2018
Member
rename前の定義が残っているのでここも削除しておいてほしいです😌
rename前の定義が残っているのでここも削除しておいてほしいです
rename前のテーブル定義の削除とコミットのsquashが入ればLGTMです |
使っていないテーブルの削除と過去のcommitをSquash してみました |
@AnaTofuZ Typo
|
上記の Typo 以外は問題なさそうです! Typo 修正したらマージしちゃいますね ;) |
#270 からの派生です。 直近のイベント情報を保存させたい為にupcoming_eventsとしてテーブルを定義 しました。 またdojo_idを持たせない等の正規化も行っています
typo修正しました |
マージしました! |
ありがとうございます! |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
背景
events
を作るに辺り直近のイベント情報が欲しい #270関連 Issue: #258
やること
be rails g migration CreateFutureEvents dojo_event_service_id:integer event_id:string event_url:string evented_ad:datetime
今回は未来のイベントなのでFutureEventsとして定義していますその後名前を
Future
からUpcoming
に修正しました