#2760 demodata's datas fixed

This commit is contained in:
Muammer Top 2020-11-30 11:13:12 +03:00
parent 3a5be3b62f
commit 6350815340
2 changed files with 23 additions and 32 deletions

View File

@ -1,32 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Anomaly\Streams\Platform\Database\Migration\Migration;
class VisiosoftModuleLocationAddAbvToCountries extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('location_countries_translations', function (Blueprint $table) {
$table->string('abv');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('location_countries_translations', function (Blueprint $table) {
$table->string('abv');
});
}
}

View File

@ -0,0 +1,23 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Anomaly\Streams\Platform\Database\Migration\Migration;
class VisiosoftModuleLocationAddAbvCountry extends Migration
{
protected $delete = false;
protected $stream = [
'slug' => 'countries',
];
protected $fields = [
'abv' => 'anomaly.field_type.text',
];
protected $assignments = [
'abv',
];
}