差分

Tep3-onk-2

26 バイト追加, 2022年9月17日 (土) 10:38
generate
$ rails generate scaffold User name:string email:string password_digest:string remember_digest:string role:integer activation_digest:string activated:boolean activated_at:datetime reset_digest:string reset_sent_at:datetime
% rails generate scaffold Note content:string user:references kind:integer meeting_time:integer role:integer linenote_line:integer
% rails generate scaffold Client user:references note:references list:references content:string list:integer lineclient_line:integer memo:text
% rails generate scaffold Other user:references note:references client:references name:string yomi:string client_name:boolean lineother_line:integer memo:text generation:string
% rails generate scaffold List user:references note:references content:string linelist_line:integer
$ rails generate scaffold Post content:text user:references picture:string