summaryrefslogtreecommitdiff
path: root/src/Database/Migration/Migration.php
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-01-16 21:26:59 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2018-01-16 21:47:21 +0100
commit235266ec53f620d94a080ed7ae8e77eaef6dbb3c (patch)
treea252b862443a3551e761e09338e9bce3ce99c394 /src/Database/Migration/Migration.php
parente44ba8456130fcd0a282ea91b5736d903f8c0496 (diff)
Added basic database migration functionality
Diffstat (limited to 'src/Database/Migration/Migration.php')
-rw-r--r--src/Database/Migration/Migration.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Database/Migration/Migration.php b/src/Database/Migration/Migration.php
new file mode 100644
index 00000000..fcc57b82
--- /dev/null
+++ b/src/Database/Migration/Migration.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Engelsystem\Database\Migration;
+
+use Illuminate\Database\Schema\Builder as SchemaBuilder;
+
+abstract class Migration
+{
+ /** @var SchemaBuilder */
+ protected $schema;
+
+ public function __construct(SchemaBuilder $schemaBuilder)
+ {
+ $this->schema = $schemaBuilder;
+ }
+}