justbetter/statamic-eloquent-driver-globalset-migration-generator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

justbetter/statamic-eloquent-driver-globalset-migration-generator

最新稳定版本:0.1.0

Composer 安装命令:

composer require justbetter/statamic-eloquent-driver-globalset-migration-generator

包简介

Creates a database migration when a new globalset is created

README 文档

README

With the release of Statamic 4.16.0 and Eloquent driver 4.4.0 this is no longer needed. We can now set the global sets in the config. This creates a file with settings on creating a global. This will tell Statamic on other environments that this global exists. The data of that global will still be stored in it's own table when set to eloquent.

Statamic Eloquent Driver Globalset Migration Generator

When you're using the Statamic Eloquent Driver creating a new globalset will result in a new entry in the global_sets table. If you're working with multiple environments like DTAP; that new entry isn't visible on the next environment in the row after committing your changes. This package aims to fix that problem by creating a database migration for it. This way you can commit the migration and the entry will be made when you run php artisan migrate on deployment. More info: #128

Installation

composer require justbetter/statamic-eloquent-driver-globalset-migration-generator

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 4.17k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-06-01