Skip to content

shasuna/relational_rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

257 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

War Games

The War Games directory had a relatively simple setup.

The Parent table was known as 'Countries', which consisted of a unqiue id, integer military_power_rank, and a boolean nuclear_power, as shown below:

Screen Shot 2021-12-08 at 2 30 30 PM

The Child table was known as 'WarRooms', of which consisted of a primary key id, a foreign key country_id, an integer strategic_importance, a string warroom_name, and two booleans, deadman_switch and contains_wmd, respectively:

Screen Shot 2021-12-08 at 2 30 33 PM

The Parent-Child relationship is as such:

Screen Shot 2021-12-08 at 2 29 24 PM

Companies

The Companies directory had a relatively simple setup.

The Parent table was known as 'Companies', which consisted of a unique id, string name, boolean independent, and integer games invented, alongside general date timestamps

Screen Shot 2021-12-08 at 2 38 16 PM

The Child table was known as 'BoardGame', of which consisted of a primary key id, a foreign key BoardGameCompany_ID, an integer Rank, a string name, a boolean out_of_print its respective dates:

Screen Shot 2021-12-08 at 2 39 22 PM

The Parent-Child relationship is as such:

Screen Shot 2021-12-08 at 2 39 37 PM

About

pair project ecks DEE!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •