From cf14306c2b3f82a81f8d56669a71633b4d4b5fce Mon Sep 17 00:00:00 2001 From: marvin-borner@live.com Date: Mon, 16 Apr 2018 21:09:05 +0200 Subject: Main merge to user management system - files are now at /main/public/ --- .../Database/Migrations/v410/MigrationTable.php | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100755 main/app/system/Database/Migrations/v410/MigrationTable.php (limited to 'main/app/system/Database/Migrations') diff --git a/main/app/system/Database/Migrations/v410/MigrationTable.php b/main/app/system/Database/Migrations/v410/MigrationTable.php new file mode 100755 index 0000000..fb833df --- /dev/null +++ b/main/app/system/Database/Migrations/v410/MigrationTable.php @@ -0,0 +1,59 @@ +schema->create('migrations', function (Blueprint $table) { + $table->increments('id'); + $table->string('sprinkle'); + $table->string('migration'); + $table->integer('batch'); + $table->timestamps(); + + $table->engine = 'InnoDB'; + $table->collation = 'utf8_unicode_ci'; + $table->charset = 'utf8'; + }); + + // Drop the old `version` table if found + if ($this->schema->hasTable('version')) { + $this->schema->drop('version'); + } + } + + /** + * {@inheritDoc} + */ + public function down() + { + $this->schema->drop('migrations'); + } +} -- cgit v1.2.3