3,765
回編集
差分
→替え玉
==== 替え玉 ====
update_heroku=# insert into accounts(account_cd, content, bs_pl, debit_credit, created_at, updated_at) VALUES ('9999', '替え玉', 1, 1, '2022-09-28', '2022-09-28');
tep5_development=# insert into accounts(account_cd, content, bs_pl, debit_credit, created_at, updated_at) VALUES ('9999', '替え玉', 1, 1, '2022-09-28', '2022-09-28');
確認
<nowiki>tep5_development=# select * from accounts order by id desc limit 1;
id | account_cd | content | bs_pl | debit_credit | created_at | updated_at
----+------------+---------+-------+--------------+---------------------+---------------------
99 | 9999 | 替え玉 | 1 | 1 | 2022-09-28 00:00:00 | 2022-09-28 00:00:00
(1 row)</nowiki>
<nowiki>update_heroku=# select count(*) from journals where account_id is null;
count
-------
10379
(1 row)</nowiki>
== 摘要テーブル 変更あり ==