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

Migration broken in sqlite #10

Open
CasperLaiTW opened this issue Feb 22, 2016 · 0 comments
Open

Migration broken in sqlite #10

CasperLaiTW opened this issue Feb 22, 2016 · 0 comments

Comments

@CasperLaiTW
Copy link

The 2015_03_26_135428_update_name_alt_title_in_media_table migration would be boken in sqlite
because sql query is not supported.

Line 17~19

I think using doctrine/dbal and update code be made compatible with other databases

Schema::table('media', function(Blueprint $table) {
      $table->string('name')->nullable()->change();
      $table->string('alt')->nullable()->change();
      $table->string('title')->nullable()->change();
});
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

No branches or pull requests

1 participant