Skip to content

MrUrakou/zozotown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

DB設計

users table

Column Type Options
name string null: false
email string null: false
kana_name string null: false
postal_code integer null: false
address1 string null: false
address2 string null: false
phone integer null: false

Associateion

  • has_many :porducts, through: :carts

products table

Column Type Options
name string null: false
category string null: false
price integer null: false
count integer null: false
description text null: false
image string null: false
product_code integer null: false

Association

  • has_many :users, through: :carts

carts table

Column Type Options
user_id integer
product_id integer

Associacion

belongs_to :user belongs_to :product

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published