Skip to content

Conversation

@samdark
Copy link
Member

@samdark samdark commented Oct 22, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 22, 2025 11:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive documentation for working with databases in Yii3, focusing on PostgreSQL setup and migration usage. The guide covers installation, configuration, and basic database operations to help developers get started with database integration.

Key Changes:

  • Added PostgreSQL installation instructions (both Docker and manual setup)
  • Documented database connection configuration using the yiisoft/db-pgsql package
  • Introduced migration setup and usage with practical examples

Copilot AI review requested due to automatic review settings October 22, 2025 11:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 30 out of 30 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings October 22, 2025 20:13
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 30 out of 30 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings November 2, 2025 16:25
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 38 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings November 2, 2025 17:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 38 changed files in this pull request and generated 5 comments.

Copilot AI review requested due to automatic review settings November 3, 2025 07:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 38 changed files in this pull request and generated 3 comments.

Comment on lines 9 to 10
- [Doctrine](https://www.doctrine-project.org/)
via [Yii Doctrine package](https://github.com/stargazer-team/yii-doctrine)
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

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

[nitpick] Inconsistent line wrapping. The Doctrine link is split across two lines while similar entries (Yii DB, Yii Active Record, Cycle) are on single lines. For consistency, either keep all entries on single lines or wrap them all similarly.

Suggested change
- [Doctrine](https://www.doctrine-project.org/)
via [Yii Doctrine package](https://github.com/stargazer-team/yii-doctrine)
- [Doctrine](https://www.doctrine-project.org/) via [Yii Doctrine package](https://github.com/stargazer-team/yii-doctrine)

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings November 3, 2025 12:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 38 changed files in this pull request and generated 2 comments.

## Creating and applying migration
Now that we have the database, it's time to define the connection.

Let's use latest versions to be released. Change your `minumum-stability` to `dev` in `composer.json` first.
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

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

Corrected spelling of 'minumum-stability' to 'minimum-stability'.

Suggested change
Let's use latest versions to be released. Change your `minumum-stability` to `dev` in `composer.json` first.
Let's use latest versions to be released. Change your `minimum-stability` to `dev` in `composer.json` first.

Copilot uses AI. Check for mistakes.
POSTGRES_PASSWORD: password
POSTGRES_USER: user
volumes:
- ./runtime/db:/var/lib/postgresql/data:rw
Copy link

Copilot AI Nov 3, 2025

Choose a reason for hiding this comment

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

The volume path ./runtime/db should be ../runtime/db to be consistent with line 50 (- ../runtime:/app/runtime). The current path is relative to docker/dev/ directory but doesn't match the pattern used for other volumes.

Suggested change
- ./runtime/db:/var/lib/postgresql/data:rw
- ../runtime/db:/var/lib/postgresql/data:rw

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants