質問編集履歴
1
created_atのカラム追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
### 該当のソースコード
|
7
7
|
関連するテーブルは以下です。
|
8
8
|
- account TABLE(抜粋)
|
9
|
-
|id|name|email|
|
9
|
+
|id|name|email|creared_at|
|
10
|
-
|:-|:--:|--:|
|
10
|
+
|:-|:--:|:--:|--:|
|
11
|
-
|1|aaa|123@ex.com|
|
11
|
+
|1|aaa|123@ex.com|2022-01-01|
|
12
12
|
- post TABLE(抜粋)
|
13
|
-
|id|account_id|body|
|
13
|
+
|id|account_id|body|creared_at|
|
14
|
-
|:--|:--:|--:|
|
14
|
+
|:--|:--:|:--:|--:|
|
15
|
-
|1|1|bbbbb|
|
15
|
+
|1|1|bbbbb|2022-01-01|
|
16
16
|
|
17
17
|
account.id = post.account_idとなります
|
18
18
|
|