Colum | Type | Options |
---|---|---|
n_name | 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 |
Colum | Type | Options |
---|---|---|
name | string | null: false |
description | text | null: false |
category_id | integer | null: false |
condition_id | integer | null: false |
shipping_charge_id | integer | null: false |
shipping_area_id | integer | null: false |
day_to_ship_id | integer | null: false |
price | integer | null: false |
user | references | null: false, foreign_key: true |
Colum | Type | Options |
---|---|---|
user | references | null: false, foreign_key: true |
product | references | null: false, foreign_key: true |
Colum | Type | Options |
---|---|---|
postal_code | string | null: false |
shipping_area_id | integer | null: false |
city | string | null: false |
address | string | null: false |
building_name | string | |
tel | string | null: false |
purchase_history | references | null: false, foreign_key: true |