GithubHelp home page GithubHelp logo

Comments (4)

BSN4 avatar BSN4 commented on June 5, 2024

can you share your schema please ?

from laravel-sync-migration.

yuhal avatar yuhal commented on June 5, 2024
Schema::create('demos', function (Blueprint $table) {
    $table->increments('id');
    $table->char('input', 50)->nullable()->comment('文本域');
    $table->string('textarea', 500)->nullable()->comment('多行文本域');
    $table->string('file', 500)->nullable()->comment('文件上传');
    $table->string('single_select', 500)->nullable()->comment('单选框');
    $table->string('multiple_select', 500)->nullable()->comment('多选框');
    $table->char('other', 50)->nullable()->comment('其他');
    $table->text('editor')->nullable()->comment('编辑器');
    $table->dateTime('date')->nullable()->comment('日期选择器');
    $table->dateTime('time')->nullable()->comment('时间选择器');
    $table->char('password', 50)->nullable()->comment('密码框');
    $table->dateTime('datetime')->nullable()->comment('日期时间选择器');
    $table->dateTime('created_at')->nullable()->comment('创建时间');
    $table->dateTime('updated_at')->nullable()->comment('修改时间');
    $table->softDeletes()->comment('删除时间');
});

from laravel-sync-migration.

BSN4 avatar BSN4 commented on June 5, 2024

yup I think thats because you have ->comment regex not detect it , your solution probably works but not sure if it affects other use cases, sadly we don't have tests, can you test it manually without ->comment and open PR ?

from laravel-sync-migration.

BSN4 avatar BSN4 commented on June 5, 2024

merged it thanks for your contribution

from laravel-sync-migration.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.