Column | Type | Options |
---|---|---|
nickname | string | null: false |
string | null: false, unique: true | |
encrypted_password | string | null: false |
first_name | string | null: false |
last_name | string | null: false |
first_name_kana | string | null: false |
last_name_kana | string | null: false |
birthday | date | null: false |
Column | Type | Options |
---|---|---|
title | string | null: false |
description | text | null: false |
category_id | integer | null: false |
status_id | integer | null: false |
shipping_id | integer | null: false |
prefecture_id | integer | null: false |
lead_time_id | integer | null: false |
price | integer | null: false |
user | references | null: false, foreign_key: true |
Column | Type | Options |
---|---|---|
text | text | null: false |
user | references | null: false, foreign_key: true |
item | references | null: false, foreign_key: true |
Column | Type | Options |
---|---|---|
user | references | null: false, foreign_key: true |
item | references | null: false, foreign_key: true |
Column | Type | Options |
---|---|---|
prefecture_id | integer | null: false |
city | string | null: false |
house_number | string | null: false |
building_name | string | |
post_number | string | null: false |
phone_number | string | null: false |
order | references | null: false, foreign_key: true |