Skip to content

Releases: stats4sd/laravel-sql-views

v1.2.0 - Add config options to disable folder creation

12 Oct 11:08
d3771a6
Compare
Choose a tag to compare

This release adds config options to allow the developer to control whether the database/views and database/procedures folders are created.

For users updating, you may wish to add the following snippet to your config/sqlviews.php file:

    'folder' => [
        'create' => [
            'views' => env('SQL_VIEWS_REGISTER_VIEWS_FOLDER', true),
            'procedures' => env('SQL_VIEWS_REGISTER_PROCEDURES_FOLDER', true)
        ]
    ]

v1.1.1

28 Jun 13:55
246c01b
Compare
Choose a tag to compare

Bug fix - make sure the example procedure is actually runnable SQL code!

v1.1.0 - MySQL Functions + Procedures

19 Jun 10:39
f661e1b
Compare
Choose a tag to compare

Adds a new feature to let developers manage MySQL functions / procedures as .sql files within the Laravel application.

Now, when running php artisan updatesql, as well as creating/updating a view for each .sql query inside database/views, it will also run all .sql files within database/procedures. It runs those files without modification, so it is up to the developer to add the correct "DROP PROCEDURE IF EXISTS" / "CREATE OR REPLACE PROCEDURE" statements.

This also allows any arbritary SQL statements to be run via an artisan command, which might be useful to generate reports at the database level, or to allow developers / data analysists more familiar with SQL than PHP to contribute to a Laravel application.

v1.0.3 - Laravel 9 Support

15 Sep 09:25
8277093
Compare
Choose a tag to compare

Another minor update to allow for use with Laravel 9 applications.

v1.0.2 - Support for Laravel 8

10 Nov 13:16
c0f7ea5
Compare
Choose a tag to compare

Simple update to composer file to allow installation with Laravel 8

1.0.1 - Run From Controller

21 Aug 11:24
95e1391
Compare
Choose a tag to compare

.Minor update to allow the updatesql command to be run from anywhere, including via the Artisan facade.

The Initial Release

21 Mar 14:48
Compare
Choose a tag to compare
The Initial Release Pre-release
Pre-release

it does one thing, and hopefully it does it well.