Skip to content

KoichiOzaki/protospace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protospace is a service for sharing for mentor of Tech::camp

TB configuration

TB List

  1. prototypes
  2. comments
  3. likes
  4. users
  5. tags
  6. prototype_tags
  7. prototype_images

columns & association

######1. prototypes belongs_to :user
has_many :comments
has_many :likes
has_many :prototype_images
has_many :tags, through: :prototype_tags

  • id (integer)
  • user_id (integer)
  • title (string)
  • catchcopy (string)
  • concept (text)
  • image

######2. comments belongs_to :user
belongs_to :prototype

  • id (integer)
  • prototype_id (integer)
  • user_id (integer)
  • comment (text)

######3. likes belongs_to :user
belongs_to :prototype

  • id (integer)
  • prototype_id (integer)
  • user_id (integer)

######4. users has_many :comments
has_many :likes
has_many :prototypes

  • id (integer)
  • name (string)
  • email (string)
  • password (string)
  • member (string)
  • profile (text)
  • works (string)
  • avatar

######5. tags has_many :prototypes, through: :prototype_tags

  • id (integer)
  • name (string)

######6. prototype_tags belongs_to :user
belongs_to :prototype

  • prototype_id (integer)
  • user_id (integer)

######7. prototype_images belongs_to :prototype

  • id (integer)
  • prototype_id (integer)
  • image

About

protospace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published