Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10793

Use db_tools in create_schema_files

XMLWordPrintable

      To avoid duplication of code and inconsistencies in the database schema, db_tools should be used in create_schema_files. Any additional logic that create_schema_files still contains should be moved to db_tools. Some db_tools function will have to be adjusted, e.g. create_table in db_tools currently doesn't insert indexes into the CREATE TABLE statement but just runs ALTER TABLE queries after the table is created to add them.

      The schema files generated after this should be identical to the current ones.

            nickvergessen Joas Schilling
            naderman Nils Adermann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: