Fix Paste model and migration

Este commit está contenido en:
Les De Ridder 2016-05-29 01:34:24 +02:00
padre c22392bcc4
commit f389161b79
Se han modificado 2 ficheros con 2 adiciones y 2 borrados

Ver fichero

@ -19,7 +19,7 @@ class Paste extends Model
return $this->deletion !== null;
}
public function delete($reason, $deleted_by)
public function soft_delete($reason, $deleted_by)
{
if($this->isDeleted())
{

Ver fichero

@ -16,7 +16,7 @@ class CreatePastesTable extends Migration
$table->char('id', 6);
$table->string('language');
$table->timestamp('created_at');
$table->timestamp('expires_at');
$table->timestamp('expires_at')->nullable();
$table->primary('id');
});