You can use PostgreSQL enum as a type of an attribute in the database table. Let's see how it looks this time. rails g migration ...
確定! 回上一頁