https://github.com/sassani134/defit
https://github.com/sassani134/defit
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sassani134/defit
- Owner: sassani134
- Created: 2023-05-15T06:59:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-17T05:20:27.000Z (about 2 years ago)
- Last Synced: 2025-01-02T07:46:32.369Z (5 months ago)
- Language: Ruby
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
* ...
Job Player Team Match Tournament
Player belongs_to Job
Job has_many playersTournament belongs_to Match
rails g model Job name:string
rails g model Team name:string town:string
rails g model Player name:string job:references team:references
rails g Tournament name:string
rails g migration AddTournamentToTeam tournament:references
rails g model Match name:string team1:string team2:string tournament:references score1:integer score2:integer km1