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

SQL fixes for PR #6 #10

Merged
merged 32 commits into from Sep 24, 2022

Commits on Aug 10, 2022

  1. Configuration menu
    Copy the full SHA
    b430b8a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb3309e View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. Fix assets table changes in base.sql

    - Fix wrong lft, rgt and level value
    - Remove unused asset for plugin
    - Adapt rgt value of the root item to the new asset
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    b2acb79 View commit details
    Browse the repository at this point in the history
  2. Adapt next asset id sequence number for PostgreSQL

    When inserting values into a table with specifying the values for an auto-incremented ID column, the next value of the corresponding sequence has to be set on PostgreSQL databases.
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    c1476f6 View commit details
    Browse the repository at this point in the history
  3. Add missing values to insert for PostgreSQL

    The values for the "ordering" and  "state" are missing here, which causes an SQL error when installing Joomla on a PostgreSQL database.
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    b17c1fc View commit details
    Browse the repository at this point in the history
  4. Don't use not existing asset id 91 on updates

    On updates we do not create new assets, so we use asset_id zero for the records we insert on updates, see e.g. 4.0.0-2018-05-15.sql
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    de1336d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f539ed1 View commit details
    Browse the repository at this point in the history
  6. Update sequence numbers on PostgreSQL

    Explanation see description of commit joomla-projects@c1476f6 .
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    8f5db62 View commit details
    Browse the repository at this point in the history
  7. Consistency and code style fixes

    - 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
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    586d90f View commit details
    Browse the repository at this point in the history
  8. Add missing extension record

    Add missing extensions record for the plugin for new installations on PostgreSQL
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    1f86bed View commit details
    Browse the repository at this point in the history
  9. Fix checked out columns to allow null values

    - 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.
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    1632e40 View commit details
    Browse the repository at this point in the history
  10. Correct data types in PostgreSQL

    - Use correct data types in PostgreSQL.
    - Remove "state" column which is not  used for MySQL either.
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    fee4177 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2171c9b View commit details
    Browse the repository at this point in the history
  12. Fix for PostgreSQL

    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    d785720 View commit details
    Browse the repository at this point in the history
  13. Fix extensions.sql for PostgreSQL

    The soundex function has to be the last thing in this file.
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    1e41ab9 View commit details
    Browse the repository at this point in the history
  14. Use correct values for created, modified and checked out columns

    - Do not use wrong values for created and modified times.
    - Do not use hardcoded user ID.
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    2d7652e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a75a5f0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ff39443 View commit details
    Browse the repository at this point in the history
  17. Fix names quoting

    - Hardcoded MySQL names quotes in this query lead to an SQL error on PostgreSQL databases
    - Added other missing names quotes
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    b06deb9 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d376f86 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e1d131f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ebedea3 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    2c2c794 View commit details
    Browse the repository at this point in the history
  22. Remoce copy and paste remainders

    Remove wrong code possibly resulting from copy and paset
    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    34a6f5b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    fd748cf View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    a39b1a9 View commit details
    Browse the repository at this point in the history
  25. Checked out for steps table

    richard67 committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    a4194d9 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    9c2b001 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

  1. Fix for the database checker

    The database checker for PostgreSQL seems to have a problem when the opening bracket is in a new line. This has to be fixed elsewhere, For now adapt to this behavior.
    richard67 committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    9cfdfc0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    35f806b View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2022

  1. Merge branch 'cleanup' of https://github.com/joomla-projects/gsoc22_g…

    …uided-tour into cleanup-fix-sql-2022-08-13
    khu5h1 committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    d381c4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cc268b View commit details
    Browse the repository at this point in the history