diff --git a/concept/database/database_concept.dia b/concept/database/database_concept.dia index d9be207..e6417e4 100644 Binary files a/concept/database/database_concept.dia and b/concept/database/database_concept.dia differ diff --git a/database/migrations/2018_09_07_083025_create_scopes_table.php b/database/migrations/2018_09_07_083025_create_scopes_table.php new file mode 100644 index 0000000..36b6e38 --- /dev/null +++ b/database/migrations/2018_09_07_083025_create_scopes_table.php @@ -0,0 +1,39 @@ +increments('id'); + + // The name of the scope. There are only four of them we need: + // 1. Ideeler Bereich + // 2. Zweckbetrieb + // 3. Vermögensverwaltung + // 4. Wirtschaftlicher Geschäftsbetrieb + $table->string('name'); + + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('scopes'); + } +}