Commit 30d17292 authored by abkrim's avatar abkrim 😀
Browse files

Add table correction db_schemas

parent 3ec21bc6
Pipeline #198 passed with stages
in 1 minute and 16 seconds
......@@ -15,9 +15,13 @@ class CreateDbSchemasTable extends Migration
{
Schema::create('db_schemas', function (Blueprint $table) {
$table->increments('id');
$table->string('version', 25)->unique();
$table->string('connection',100)->nullable(false)->index();
$table->string('table',100)->nullable(false)->index();
$table->string('version', 25)->nullable(false)->index();
$table->text('schema');
$table->timestamps();
$table->unique(['connection', 'table', 'version']);
});
}
......
......@@ -32,6 +32,7 @@ class DbSchemaServiceProvider extends ServiceProvider
__DIR__.'/../database/migrations' => database_path('migrations'),
], 'db-schema-migrations');
$this->commands([
HelpSchema::class,
ListSchema::class,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment