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.4] SQLServerGrammar: added collation support #16227

Merged
merged 1 commit into from
Nov 2, 2016

Conversation

dmoreno
Copy link
Contributor

@dmoreno dmoreno commented Nov 2, 2016

You can define collation in table creation:

Schema::create('table_name', function (Blueprint $table) {
    $table->string('field_name')->collation('Latin1_General_CS_AS');
});

This is same implementation as MySQL grammar.

If any maintainer like this feature, I could write some test for it.

You can define collation in table creation:

Schema::create('table_name', function (Blueprint $table) {
    $table->string('field_name')->collation('Latin1_General_CS_AS');
});

This is same implementation as MySQL grammar
@taylorotwell taylorotwell merged commit 8be6291 into laravel:master Nov 2, 2016
@GrahamCampbell GrahamCampbell changed the title SQLServerGrammar: added collation support [5.4] SQLServerGrammar: added collation support Nov 2, 2016
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.

2 participants