creating tables
This commit is contained in:
@@ -19,6 +19,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||
*/
|
||||
class ContentReport extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
|
||||
/** Authoring user */
|
||||
public function author()
|
||||
{
|
||||
|
||||
@@ -23,6 +23,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Proposal extends Model
|
||||
{
|
||||
use Reportable;
|
||||
protected $guarded = [];
|
||||
|
||||
protected static function boot()
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ use Riesjart\Relaquent\Model\Concerns\HasRelaquentRelationships;
|
||||
* @property int $refs
|
||||
* @property int $ancestor_id
|
||||
* @property string $note
|
||||
* @property string $index_column
|
||||
* @property object $columns
|
||||
* @property Revision|null $parentRevision
|
||||
* @property Row[]|Collection $rows
|
||||
* @property Proposal|null $sourceProposal - proposal that was used to create this revision
|
||||
@@ -24,6 +24,7 @@ use Riesjart\Relaquent\Model\Concerns\HasRelaquentRelationships;
|
||||
class Revision extends Model
|
||||
{
|
||||
use HasRelaquentRelationships;
|
||||
protected $guarded = [];
|
||||
|
||||
protected static function boot()
|
||||
{
|
||||
|
||||
@@ -13,5 +13,6 @@ use Illuminate\Database\Eloquent\Model;
|
||||
*/
|
||||
class Row extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
public $timestamps = false;
|
||||
}
|
||||
|
||||
@@ -15,10 +15,11 @@ use Illuminate\Database\Eloquent\Model;
|
||||
* @property int $owner_id
|
||||
* @property int $ancestor_id
|
||||
* @property int $revision_id
|
||||
* @property string $name
|
||||
* @property string $title
|
||||
* @property string $description
|
||||
* @property string $license
|
||||
* @property string $source_link
|
||||
* @property string $origin
|
||||
* @property User $owner
|
||||
* @property Table $parentTable
|
||||
* @property Table[]|Collection $forks
|
||||
@@ -32,6 +33,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Table extends Model
|
||||
{
|
||||
use Reportable;
|
||||
protected $guarded = [];
|
||||
|
||||
protected static function boot()
|
||||
{
|
||||
|
||||
@@ -24,6 +24,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class TableComment extends Model
|
||||
{
|
||||
use Reportable;
|
||||
protected $guarded = [];
|
||||
|
||||
protected static function boot()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user