LoginSignup
0
0

More than 1 year has passed since last update.

generateのテーブル名は複数形

Posted at

Migrations Generator Conventions:
Migrations should be:
1. Camel cased or Snake cased
2. start with an action (i.e. create, add, remove, etc)
3. The name of the table should be the last word and it should be plural
4. Column names should be snake cased and singular, followed by a colon “:” and data type (default is a string).

The name of the table should be the last word and it should be plural

テーブルの名前は最後の単語であるべきで、それは複数形であるべきだ
出典 DeepL

出典

テーブル名 users 先頭小文字・複数形

出典

感想

2つの記事で同じことが書かれていたので複数形でいいのか。
何でだろうか
そういう仕様になっているからか。
とりあえず頑張ろう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0