差分

移動先: 案内検索

Tep3

595 バイト追加, 2022年2月24日 (木) 07:13
ListsのidをClientsのlist_idに入れる
UPDATE clients SET list_id = x_list_id.list_id FROM x_list_id WHERE clients.id = x_list_id.client_id;
</pre>
* Categories:- とりあえず必要なカテゴリは少ないので手動入力 ひとつ入れると後はTepnote画面上から入力できる
<pre>
INSERT INTO Categories (user_id, note_id, content, line, defa, created_at, updated_at) VALUES (1, 1, '檀家', 1, true, '2022-02-24 07:00:00', '2022-02-24 07:00:00');
</pre>
<pre>
id | user_id | note_id | content | line | defa | created_at | updated_at
----+---------+---------+---------+------+------+---------------------+---------------------
1 | 1 | 1 | 檀家 | 1 | t | 2022-02-24 07:00:00 | 2022-02-24 07:00:00
</pre>
<pre>

案内メニュー