警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 |
編集中の文章 |
1,079行目: |
1,079行目: |
| ==== 替え玉 ==== | | ==== 替え玉 ==== |
| 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'); | | 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>
| |
| | | |
| 替え玉挿入 | | 替え玉挿入 |