Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearcodi/laravel-postgresql-schemas
https://github.com/bearcodi/laravel-postgresql-schemas
Last synced: about 11 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/bearcodi/laravel-postgresql-schemas
- Owner: bearcodi
- License: mit
- Created: 2024-05-08T09:07:44.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-09T06:11:21.000Z (6 months ago)
- Last Synced: 2024-05-09T10:34:31.866Z (6 months ago)
- Language: PHP
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```
__ __
/ / ___ ________ __ _____ / /
/ /__/ _ `/ __/ _ `/ |/ / -_) /
/____/\_,_/_/ \_,_/|___/\__/_/
___ __ ________ __
/ _ \___ ___ / /____ ________ / __/ __ \ / /
/ ___/ _ \(_- __/ _ `/ __/ -_)\ \/ /_/ / / __
/_/ \___/___/\__/\_, /_/ \__/___/\___\_\/____/
/___/
____ __
/ __/___/ / ___ __ _ ___ ____
_\ \/ __/ _ \/ -_) ' \/ _ `(_-<
/___/\__/_//_/\__/_/_/_/\_,_/___/```
![Tests](https://github.com/bearcodi/laravel-postgresql-schemas/actions/workflows/tests.yml/badge.svg)
![Packagist Version](https://img.shields.io/packagist/v/bearcodi/laravel-postgresql-schemas)
![Packagist Downloads](https://img.shields.io/packagist/dt/bearcodi/laravel-postgresql-schemas)
![GitHub License](https://img.shields.io/github/license/bearcodi/laravel-postgresql-schemas)> **WARNING** This is work in progress!!!
## About
Laravel package to add support for PostgreSQL `SCHEMA`.
## Installation
```bash
$ composer require bearcodi/laravel-postgresql-schemas
```### Publish configuration
```bash
$ php artisan config:publish --vendor=bearcodi
```## Environment Variables
| Variable | Default | Description |
| :-------------------- | :------ | :--------------------------------------------------------------- |
| `DB_SCHEMA_PREFIX` | '' | Prefix for your environments schemas. |
| `DB_SCHEMA_FORCEDROP` | `true` | Implements PostgreSQL `CASCADE` or `RESTRICT` on drop of schema. |