Comments (4)
can you share your schema please ?
from laravel-sync-migration.
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.
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.
merged it thanks for your contribution
from laravel-sync-migration.
Related Issues (13)
- Base table or view not found when using a database prefix HOT 1
- allow to specify migration file path HOT 2
- php_network_getaddresses: getaddrinfo failed error running in sail/docker HOT 3
- laravel 7 support still exists comments bug HOT 4
- Facing Issue in Installation for Laravel 9 HOT 2
- Add support for config file HOT 1
- Support for lower versions of PHP HOT 1
- Getting error composer install
- Can support laravel11?
- Exception when table name is variable HOT 1
- Problem to install via composer HOT 1
- Can't install in Laravel 8 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-sync-migration.