ionicsoft / vidon

A student project to create a video on demand web service. Will only host public-access content.
0 stars 1 forks source link

Database and data model is not reflective of the ER diagram #6

Closed Wyvernix closed 5 years ago

Wyvernix commented 5 years ago

Explaination Currently our data model was generated using rails scaffolding. It was then modified in order to define the relationships correctly. Because of this, our database isn't using many of the features of SQL and would benefit from doing so. In addition, some of the information is not correct. A number of fields were added to reference other tables, but only the "child" who "belongs to" another table should have this information.

Proposal

Related information

Note that while the db/schema.rb file has information about the current state of the database, not all fields are listed (such as the id field for each table) because they are implied. Download db/development.sqlite3 and open with DB Browser to view complete database.