Closed macedot closed 7 years ago
You modified the database schema, can you please update the db/schema.sql and add a migration script to upgrade from version 1.0.3? Just add a file db/mig_1.0.3_1.0.4.sql containing all instructions that need to be executed. The schema.sql should contain the complete database schema without data and comments.
Also, when I merge this it will break the master branch, since you haven't added your changes to the frontend. Are you familiar with VueJs/JavaScript? In that case can you add the new configurations to the public/app/pages/configuration.js? If not, I can take care of that.
Steps to build, run and (manually) test:
Done. Should I create a new pull request?
No your commits get added to this pull request. I'll test the changes :)
To do local testing, you can also use docker instead of setting up my complete dev environment. Install docker on your machine, setup a mysql database (https://hub.docker.com/_/mysql/) and build the image from within th acweb directory: docker build -t acweb .
and then run it like on your server.
It really would help to make sure your changes actually compile and work propperly. I'm thinking about adding unit tests in a future version.
But so far, your code looks really good.
Did it in a hurry before leave to work. Will fix asap :)
Should be enough :) My current internet isn't great so it will take some time to download docker image and test it.
New commits for #10, #12 and #13 .
Add the new table columns to the migration script please.
Not tested, but should build at least :)