Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#6: make auth #14

Closed
wants to merge 2 commits into from
Closed

#6: make auth #14

wants to merge 2 commits into from

Conversation

baltun
Copy link

@baltun baltun commented Aug 31, 2019

No description provided.

$table->bigIncrements('id');
$table->string('number');
$table->string('name');
$table->string('book');
Copy link
Collaborator

Choose a reason for hiding this comment

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

Непонятно как будет выглядеть структура таблицы, у каждой главы будет дублироваться название книги?

Copy link
Author

Choose a reason for hiding this comment

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

у каждой главы будет можно сказать текстовый id книги, для СИКП это будет 'sicp'
при необходимости можно будет поменять на числовой (или добавить)

Copy link
Contributor

Choose a reason for hiding this comment

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

Я просто узнать замысел: Т.е. здесь предполагается много книг и у каждой книги будут свои главы (один ко многим)?

Copy link
Contributor

Choose a reason for hiding this comment

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

П.с. если структура глав предполагается древовидная, тогда действительно лучше сделать materialized path, сейчас пока не вижу, как это здесь реализовано

@mokevnin
Copy link
Member

Уже не актуально

@mokevnin mokevnin closed this Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants