Skip to content

Conversation

oliverklee
Copy link
Contributor

Now Travis import the database schema before each build.

The database schema has been taken from the development demo database
(but without the data).

@oliverklee oliverklee self-assigned this Jun 21, 2017
@oliverklee oliverklee requested a review from michield June 21, 2017 17:16
@oliverklee
Copy link
Contributor Author

@michield Should we use the SQL as taken from the dump (with the same formatting), or would you prefer it to be autoformatted it (so it is better readable=?

@oliverklee oliverklee force-pushed the feature/db-schema branch 2 times, most recently from f731779 to cb6767a Compare June 21, 2017 17:24
@oliverklee oliverklee requested a review from samtuke June 21, 2017 21:05
@samtuke
Copy link
Collaborator

samtuke commented Jun 22, 2017

The purpose of the SQL file is primarily for CI testing so in my view the dump is fine. phpList 3 contains the DB structure in array format in structure.php, and it is already planned to add SQL comments to the tables there for contextual documentation. After that is done, the re-dumped SQL here will have comments describing table purpose which will make it more informative.

@samtuke
Copy link
Collaborator

samtuke commented Jun 22, 2017

Please wait for Michiel's review also

Now Travis import the database schema before each build.

The database schema has been taken from the development demo database
(but without the data).
@oliverklee
Copy link
Contributor Author

This blocks the next coming PR. @michield Do you have time to take a look at this PR?

@samtuke
Copy link
Collaborator

samtuke commented Jun 22, 2017

I will merge this in the mean time; it can easily be replaced with another dataset in future.

@samtuke samtuke merged commit ae91de7 into master Jun 22, 2017
@samtuke samtuke deleted the feature/db-schema branch June 22, 2017 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants