Can the column identifier is a foreign key to a model (ex: BoardColumn)? #85
Unanswered
codebaradev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the documentation the Column identifie is a string, I want to change to a foreign key for my BoardColumn model. Is this possible? and how to call the column in Board if I use foreign key.
below is the example of database migration for a task using only string value for colummn identifier
Schema::create('tasks', function (Blueprint $table) {
$table->id();
$table->string('title'); // Card title
$table->string('status'); // Column identifier
$table->flowforgePositionColumn(); // Drag-and-drop ordering
$table->timestamps();
});
Beta Was this translation helpful? Give feedback.
All reactions