Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Conversation

@khu5h1
Copy link
Collaborator

@khu5h1 khu5h1 commented Jul 22, 2022

Summary of Changes

  • Optimized Update SQL Scripts for Postgresql and MySQL.
  • Converted 2 Update SQL Scripts for Postgresql and MySQL into one.
  • Removed Label from Hidden Field.
  • Code Cleanup
  • Update String Value for Relative URL.
  • Increase the file version to 4.3 for Update SQL Scripts for Postgresql and MySQL.
  • Follow Coding Standards.
  • Resolved the PHPCS Errors from logs for getting the build tests passed.
  • Resolved the PHPCS Warnings from logs for getting the build tests passed.
  • Resolved the comments for code cleanup.
  • Used Standard Headings for the Views and removed the tours id from the title in the steps view.
  • Resolved the code review of PR Base Structure for Guided tour #1.
  • Removed Overlay Option permanently and made it permanently true for every tour.

@khu5h1 khu5h1 changed the title Update SQL Scripts for Postgresql and MySQL Update SQL Scripts for Postgresql and MySQL and Code Cleanup Jul 22, 2022
Copy link
Contributor

@bembelimen bembelimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When cleaned up, we can merge asap

@khu5h1 khu5h1 requested a review from rdeutz as a code owner August 2, 2022 14:53
- Some code style fixes
- Be consistent with how you specify primary keys in MySQL
- On update, insert new extensions with one insert statement and use ordering 0
Add missing extensions record for the plugin for new installations on PostgreSQL
- The checked_out and checked_out_time columns meanwhile allow null values and so also should not have a default value.
- Use  data types consistent with other tables for these columns.
- Use correct data types in PostgreSQL.
- Remove "state" column which is not  used for MySQL either.
The soundex function has to be the last thing in this file.
- Do not use wrong values for created and modified times.
- Do not use hardcoded user ID.
- Hardcoded MySQL names quotes in this query lead to an SQL error on PostgreSQL databases
- Added other missing names quotes
@richard67 richard67 mentioned this pull request Aug 13, 2022
@richard67
Copy link
Contributor

For fixes on SQL, especially for PostgreSQL, see #10 .

@khu5h1 khu5h1 merged commit 032fd47 into infra-guided-tour Sep 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants