差分

移動先: 案内検索

Tep3-onk-2

892 バイト追加, 2022年9月26日 (月) 13:01
新データベースにリストア
ERROR: relation "public.jiins" does not exist</nowiki>
==== generate====
% rails generate scaffold Place user:references note:references client:references zip:string ken:string city:string etc:string flag:boolean memo:text
{{font color||yellow|migrationファイル名の日時をenable_extension_for_uuid.rb以前にする}}
 
<nowiki>% rails db:migrate:status
 
database: tep5_development
 
Status Migration ID Migration Name
--------------------------------------------------
up 20220917020659 Create users
up 20220917023135 Create notes
up 20220917023510 Create lists
up 20220917023750 Create clients
up 20220917024207 Create others
down 20220917035020 Create places
up 20220918004020 Enable extension for uuid
up 20220918004824 Change users id type to uuid
up 20220918004853 Change notes id type to uuid
up 20220918004934 Change lists id type to uuid
up 20220918005011 Change clients id type to uuid
up 20220918005027 Change others id type to uuid
up 20220920062901 Create categories
up 20220920063011 Create relationship categories
up 20220925035934 Create relationships</nowiki>
== UUIDを有効にする ==

案内メニュー