Skip to content

Commit

Permalink
Merge pull request #1 from lara-zeus/update-migration
Browse files Browse the repository at this point in the history
update migration
  • Loading branch information
atmonshi authored Sep 3, 2024
2 parents 843142f + babb577 commit c246432
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 0 additions & 8 deletions config/zeus-delia.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?php

/*todo
* render hook to show the dropdown list
* render hook to show the bookmark toggle
* a blade component
* an action
* multi tenant
*/

use Filament\Tables\View\TablesRenderHook;
use Filament\View\PanelsRenderHook;

Expand Down
5 changes: 4 additions & 1 deletion database/migrations/create_bookmarks_table.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ return new class extends Migration
Schema::create(config('zeus-delia.table-prefix').'bookmarks', function (Blueprint $table) {
$table->bigIncrements('id');

$table->string('bookmarkable_type');
$table->string('bookmarkable_resource');
$table->string('bookmarkable_page')->nullable();
$table->integer('bookmarkable_id')->nullable();

$table->integer('user_id');

$table->timestamps();
$table->softDeletes();
});
Expand Down

0 comments on commit c246432

Please sign in to comment.