Skip to content
This repository has been archived by the owner on Mar 1, 2021. It is now read-only.

RAGC-78 Added migrations #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

RAGC-78 Added migrations #1

wants to merge 1 commit into from

Conversation

MichalDaniluk
Copy link

No description provided.

$table->id();
$table->string('title');
$table->string('code');
$table->unsignedTinyInteger();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it mean? Why there is no "column name"?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't column "name" because there is "title" column

$table->id();
$table->unsignedBigInteger('course_rating_criterias_id');
$table->unsignedBigInteger('course_ratings_id');
$table->enum('rating',[]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be sure, we don't know which "ratings" are required yet and it wont be for example, a 1 - 5 criteria?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you have right, I will add to array numbers from 1 to 5. Later will see.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants