Add server and name column to lodestone cache

This commit is contained in:
Daniel_I_Am 2020-08-28 23:36:54 +02:00
parent 915b591c48
commit e8ad668ff2
No known key found for this signature in database
GPG Key ID: 80C428FCC9743E84
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,8 @@ class LodestoneCache extends Model
protected $fillable = [
'type',
'server',
'name',
'lodestoneId',
'content'
];

View File

@ -16,6 +16,8 @@ class CreateLodestoneCachesTable extends Migration
Schema::create('lodestone_caches', function (Blueprint $table) {
$table->id();
$table->integer('type');
$table->string('server', 64);
$table->string('name', 255);
$table->bigInteger('lodestoneId');
$table->text('content');
$table->timestamps();