[ /* |-------------------------------------------------------------------------- | Migration Repository Table |-------------------------------------------------------------------------- | | This table keeps track of all the migrations that have already run for | your application. Using this information, we can determine which of | the migrations on disk haven't actually been run in the database. | */ 'table' => 'migrations', /* |-------------------------------------------------------------------------- | Migration Directory |-------------------------------------------------------------------------- | | This directory is where all migrations will be stored for this entity | manager. Use different directories for each entity manager. | */ 'directory' => database_path('migrations'), /* |-------------------------------------------------------------------------- | Migration Organize Directory |-------------------------------------------------------------------------- | | Organize migrations file by directory. | Possible values: "year", "year_and_month" and false | | false: | directory/ | "year": | directory/2020/ | "year_and_month": | directory/2020/01/ | */ 'organize_migrations' => false, /* |-------------------------------------------------------------------------- | Migration Namespace |-------------------------------------------------------------------------- | | This namespace will be used on all migrations. To prevent collisions, add | the entity manager name (connection name). | */ 'namespace' => 'Database\\Migrations', /* |-------------------------------------------------------------------------- | Schema Filter |-------------------------------------------------------------------------- | | Tables which are filtered by Regular Expression. You optionally | exclude or limit to certain tables. The default will | filter all tables. | | 使用负向先行断言来排除特定表: | (?!table1|table2|pattern) 表示不匹配指定的表名或模式 | */ 'schema' => [ 'filter' => '/^(?!password_resets|failed_jobs|.*_lang_enCN|.*_lang_zhCN|.*_lang_encn|.*_lang_zhcn|.*_lang_[a-z]{2}[A-Z]{2}|outside_item_multi_lang_mod_lang_.*|item_multi_lang_mod_lang_.*).*$/' ], /* |-------------------------------------------------------------------------- | Migration Version Column Length |-------------------------------------------------------------------------- | | The length for the version column in the migrations table. | */ 'version_column_length' => 14 ], ];