Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.8] Added SET datatype on MySQL Grammar #28171

merged 2 commits into from Apr 11, 2019


None yet
4 participants
Copy link

commented Apr 10, 2019

This pull request adds the MySQL's SET type into the migrations builder. It allows you to make:

    public function up()
        Schema::create('table_name', function (Blueprint $table) {
            $table->set("field_name", [ "Possible", "Values" ]);

That will create a table with a field_name column with the SET dataType. Available only on MySQL.

@jpedroh jpedroh changed the title Added SET datatype on MySQL Grammar [5.8] Added SET datatype on MySQL Grammar Apr 10, 2019

@taylorotwell taylorotwell merged commit 46884ad into laravel:5.8 Apr 11, 2019

1 check passed

continuous-integration/styleci/pr The analysis has passed

This comment has been minimized.

Copy link

commented Apr 25, 2019

before this, I use for support set type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.