Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/vcian/laravel-db-auditor in…
Browse files Browse the repository at this point in the history
…to main
  • Loading branch information
vc-urvin committed Jan 19, 2024
2 parents 9bd6371 + f72000d commit 140a57a
Show file tree
Hide file tree
Showing 22 changed files with 566 additions and 14 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Update Changelog"

on:
release:
types: [released]

jobs:
update:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
28 changes: 26 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,50 @@

All notable changes to `laravel-db-auditor` will be documented in this file

## v1.8.1 - 2024-01-19

### What's Changed

* Add Current User Name If Git commit not found or not commited the file by @vc-urvin in https://github.com/vcian/laravel-db-auditor/pull/42

**Full Changelog**: https://github.com/vcian/laravel-db-auditor/compare/v1.8.0...v1.8.1

## v1.8.0 - 2024-01-18

### What's Changed

* Add quotes in SQL query by @vc-urvin in https://github.com/vcian/laravel-db-auditor/pull/37
* Implement the database track command by @vc-urvin in https://github.com/vcian/laravel-db-auditor/pull/38
* Add an art folder with screenshots. by @ruchit288 in https://github.com/vcian/laravel-db-auditor/pull/39
* Create update-changelog.yml by @ruchit288 in https://github.com/vcian/laravel-db-auditor/pull/40
* feat: add database track related screenshot and update readme file. by @ruchit288 in https://github.com/vcian/laravel-db-auditor/pull/41

**Full Changelog**: https://github.com/vcian/laravel-db-auditor/compare/v1.7.0...v1.8.0

## v1.7.0 [3rd July 2023]

- Integrate Web Page For Standard Check.
- Integrate Web Page for Constraint Page with Actions - Add primary key, index, foreign and unique keys.
- Minor bug fixing.

## v1.6.0 [15th June 2023]

- Folder structure change - Services replaced with Traits.

## v1.5.2 [19th May 2023]

- UI/UX improvement of db:standard CLI UI.
- Resolved foreign key constraint issue.

## v1.5.1 [5th May 2023]

- Bug fixing and Add new Constraint.
- Change in rules services for suggestion messages.
- Add condition for empty constraint.
- Add examples in the readme file.


## v1.5.0 [29th April 2023]

- Resolved naming validation rules and datatype issue.

## v1.4.0 [27th April 2023]
Expand All @@ -46,7 +70,7 @@ All notable changes to `laravel-db-auditor` will be documented in this file
- Resolved class naming convention issue.
- Modified messages.

## v1.1.0 [17th April 2023]
## v1.1.0 [17th April 2023]

- Update doctrine dependency.

Expand Down
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/laravel-db-auditor-hr.svg" width="50%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/laravel-db-auditor-hr.svg" width="50%" alt="Logo Laravel DB Auditor"></p>

![Packagist License](https://img.shields.io/packagist/l/vcian/laravel-db-auditor?style=for-the-badge)
[![Total Downloads](https://img.shields.io/packagist/dt/vcian/laravel-db-auditor?style=for-the-badge)](https://packagist.org/packages/vcian/laravel-db-auditor)
Expand Down Expand Up @@ -41,13 +41,13 @@ If you want to check standalone feature then you can execute below artisan comma
> Below example give insights about the how to see constraints in table and how to add.
>
<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-constraint-select-table.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/db-constraint-select-table.png" width="100%" alt="Logo Laravel DB Auditor"></p>

<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-constraint-display-table-details.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/db-constraint-display-table-details.png" width="100%" alt="Logo Laravel DB Auditor"></p>

<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-constraint-add.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/db-constraint-add.png" width="100%" alt="Logo Laravel DB Auditor"></p>

<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-constraint-result.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/db-constraint-result.png" width="100%" alt="Logo Laravel DB Auditor"></p>


---
Expand All @@ -61,11 +61,11 @@ If you want to check standalone feature then you can execute below artisan comma
> Below example give insights of database standards reports and suggestions.
>
>
<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-standard-cmd-1.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/db-standard-cmd-1.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-standard-table-report-1.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/db-standard-table-report-1.png" width="100%" alt="Logo Laravel DB Auditor"></p>

<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-standard-table-report-2.png" width="100%" alt="Logo Laravel DB Auditor"></p>
<p align="center"><img src="art/db-standard-table-report-2.png" width="100%" alt="Logo Laravel DB Auditor"></p>

---
> #### **php artisan db:track**
Expand All @@ -74,8 +74,12 @@ If you want to check standalone feature then you can execute below artisan comma
>
>
> You can also filter with --table=, --action=, --status=.
> Note: "created by" return the github username and if it's not git repo than it shows system username.
>
<img src="art/track-default.png" width="100%" alt="Track Default"></p>
<img src="art/track-table.png" width="100%" alt="Track Default"></p>
<img src="art/track-st-pending.png" width="100%" alt="Track Default"></p>
<img src="art/track-ac-create.png" width="100%" alt="Track Default"></p>
**Note:**

You have to set your database name with _DB_DATABASE_ parameter in you laravel .env file to use this feature.
Expand All @@ -90,12 +94,12 @@ select "db-auditor"

Route - To access the web UI "/laravel-db-auditor"

<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-standard-ui.png" width="100%" alt="Laravel DB Auditor UI"></p>
<p align="center"><img src="art/db-standard-ui.png" width="100%" alt="Laravel DB Auditor UI"></p>


<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-standard-details-ui.png" width="100%" alt="Laravel DB Auditor UI"></p>
<p align="center"><img src="art/db-standard-details-ui.png" width="100%" alt="Laravel DB Auditor UI"></p>

<p align="center"><img src="https://raw.githubusercontent.com/vcian/art/main/laravel-db-auditor/db-constraint-ui.png" width="100%" alt="Laravel DB Auditor UI"></p>
<p align="center"><img src="art/db-constraint-ui.png" width="100%" alt="Laravel DB Auditor UI"></p>


## Changelog
Expand Down
Binary file added art/artisan-db-audit-cmd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-constraint-add.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-constraint-display-table-details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-constraint-result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-constraint-select-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-constraint-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-standard-cmd-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-standard-details-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-standard-table-report-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-standard-table-report-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/db-standard-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added art/laravel-db-auditor-hr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 140a57a

Please sign in to comment.