ยังไงเพื่อเพิ่มคอลัมน์ต้องโต๊ะลู่นอกทาง

รหัสตัวอย่าง

6
0

ยังไงเพื่อเพิ่มคอลัมน์ต้องโต๊ะลู่นอกทาง


rails g migration add_description_to_users description:string
#'g' means generate, the 'add' in 'add_description_to_users' tells
#Rails you want to add a column, the 'description' is the new column name,
#and the 'users' is the table you want to add it to, must be plural. 
#After you've checked your migration to make sure its what you want...
rails db:migrate

หน้าคล้ายกัน

คล้ายกันหน้ากับตัวอย่าง

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................

ดังอยู่ในนี้หมวดหมู่

ดังหน้ากับตัวอย่างอยู่ในหมวดหมู่