Skip to content

Migration broken in sqlite #10

@CasperLaiTW

Description

@CasperLaiTW

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();
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions