PrestaShop / PrestaShop/docs

Add informations about tables added in the DB by Doctrine after installation

Open
#622 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
136
Forks
555
Avg merge
4d 14h
Merged PRs (30d)
4

Description

After a discussion on Slack it appears that they are tables created by Doctrine during the installation of a PrestaShop shop. But, this is not documented in the devdocs.

I created this issue to track this lack of information.

Edit from @jolelievre
We also should document the different other ways of creating/updating the database table:

  • db_structure.sql for fresh install
  • upgrade sql scripts
  • available placeholders like PREFIX_ that can be used in them

This should be documented for a core developer, and for module developers.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the devdocs, db_structure.sql, and the upgrade SQL scripts mentioned in the issue. Document which tables Doctrine creates during installation, how fresh-install and upgrade schemas differ, and how placeholders such as PREFIX_ work for core and module developers.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.