/home/techb158/public_html/wp-content/plugins/kirki/database/migrations
NameSizeModeActions
CreateCmReferenceTable.php9010644editdlrm
CreateCollaborationsConnectedTable.php7960644editdlrm
CreateCollaborationsSentTable.php7460644editdlrm
CreateCollaborationsTable.php10180644editdlrm
CreateCommentsSeenTable.php7710644editdlrm
CreateCommentsTable.php10600644editdlrm
CreateFormsDataTable.php9990644editdlrm
CreateFormsTable.php7340644editdlrm
Edit: /home/techb158/public_html/wp-content/plugins/kirki/database/migrations/CreateCommentsTable.php (1060B)
id(); $table->unsigned_big_integer('user_id'); $table->unsigned_big_integer('post_id'); $table->unsigned_big_integer('parent_id')->default(0); $table->text('comment'); $table->string('meta_data'); $table->integer('status')->comment('1=active, 2=resolved, 0=deleted'); $table->timestamp('created_at')->use_current(); $table->datetime('updated_at')->use_current(); $table->index('post_id', 'post_id'); $table->foreign('post_id')->references('ID')->on('posts')->cascade_on_delete(); }); } public function down() { Schema::drop_if_exists('kirki_comments'); } }