Skip to content

Conversation

@adampatterson
Copy link
Contributor

After republishing the from migrations the character limit was removed resulting in a varchar(255) string column.

I kind of feel like there's no need to replicate this migration change in the packaged migrations since it's not presently there.

This fix should address anyone who's newly installed the package and who's freshly published the migrations.

closes #502

adampatterson and others added 17 commits January 4, 2025 13:11
* Remove Laravel 10 & PHP 8.1 from testing matrix

* Remove Testbench 8 version constraint

* Require minimum of PHP 8.2
* Convert `$casts` property to method

* Update example in the docs
# Conflicts:
#	.github/workflows/tests.yml
#	composer.json
* Drop `origin` column from `global_set_variables` column

* Persist new `sites` option in global set options

* Update existing tests

There's still two failing tests locally, I'll get these fixed up tomorrow.

* This test needs to be using multisite.

* Not all tests require multisite.

* Arr::get() is safer.

* Update script

* Fix styling

* We shouldn't need to override this.

* Sites and origins are now accessed using separate methods.

* Update tests

* Call `in` instead of `addLocalization`

* Get rid of the GlobalFactory

We're not using it anymore, and we've removed its equivelent in core.

* Events are fired differently in v6. Remove test.

---------

Co-authored-by: duncanmcclean <duncanmcclean@users.noreply.github.com>
…#431)

* Allow globals and variables to be exported seperately

* The origin is now defined on the global set

* Change approach to export command

* Update and add some tests thanks to Claude

---------

Co-authored-by: Duncan McClean <duncan@duncanmcclean.com>
* Addon Settings

* Fix styling

* Require dev-addons for now

* Fix export command test

* wip

* Allow referencing config options in settings

* Avoid importing addons without settings

* Some post-merge changes

* Switch back to `master`

---------

Co-authored-by: duncanmcclean <duncanmcclean@users.noreply.github.com>
The migration stubs currently don’t match the default migration files.

Removed the 30 character limit on the `form` column in `form_submissions`.

The `forms` table doesn’t have a limit set on `handle` so it’s possible to create a handle that can’t be stored  in `form_submissions`.
@ryanmitchell ryanmitchell changed the base branch from master to 4.x September 24, 2025 05:03
@ryanmitchell
Copy link
Contributor

Thanks for the PR - unfortunately you've targeted master not 4.x which is the default branch.
Could you re-open using that as your base please?

@adampatterson
Copy link
Contributor Author

Sorry about that, I had pushed code previously but didn't have any other branches locally.

I must have done it through GitHub.

I've create a new PR.

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.

String data, right truncated: 1406 Data too long for column 'form' at row 1

3 participants