Skip to content

Creates a simple MySQL database#9

Open
stevemac1900 wants to merge 17 commits intoMoravianUniversity:masterfrom
stevemac1900:db_schema
Open

Creates a simple MySQL database#9
stevemac1900 wants to merge 17 commits intoMoravianUniversity:masterfrom
stevemac1900:db_schema

Conversation

@stevemac1900
Copy link
Contributor

All data is stored in one table since I am making all fields directly dependent on
the id field.

stjam26 and others added 2 commits February 21, 2018 17:22
Adding a datetime field necessitated two tables, one for static information and
one for variable. It also means we will need indexing since we will be storing
significantly more data.

The size field, upon further inspection, actually holds the information for 2 or
3 fields depending whether the entry is for kegs or cans/bottles. This has been
split into 3 separate fields - containers_per_pack, container_size and
container_type.

Additionally the case_pack field has been renamed to better reflect the values
being stored there.
@stevemac1900
Copy link
Contributor Author

Should I make unit tests for this or is it simple enough that it doesn't need any?

I started looking into unit test suites for MySQL, this one is open source, looks like it might do the trick. Would we need any special permissions or anything to use this?

utMySQL Home Site

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants