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

struktur database #2

Open
fauzipadlaw opened this issue Oct 9, 2018 · 12 comments
Open

struktur database #2

fauzipadlaw opened this issue Oct 9, 2018 · 12 comments

Comments

@fauzipadlaw
Copy link
Contributor

sepertinya perlu perubahan database untuk roles dan permission masing2 role, akan lebih baik dibuat permission yg dinamis.
sekarang belum ada ide ._.

@fauzipadlaw
Copy link
Contributor Author

dan juga, mungkin akan ada beberapa fitur lagi hm..

@fauzipadlaw
Copy link
Contributor Author

SEMANGAT!!!

@fauzipadlaw
Copy link
Contributor Author

roles:

  • id
  • title

permissions

  • id
  • can

role_permissions

  • role_id
  • permission_id

how about that, huh?

@fauzipadlaw
Copy link
Contributor Author

table user_departments dihapus?

@fauzipadlaw
Copy link
Contributor Author

tambah status, role_id, and department_id pada table users?

@fauzipadlaw
Copy link
Contributor Author

Like this?

image

@fauzipadlaw
Copy link
Contributor Author

atau mungkin table departments tidak diperlukan lagi? lalu tambahkan role_id pada table archives? hmm interesting...

@fauzipadlaw
Copy link
Contributor Author

hmm like this??

image

@fauzipadlaw
Copy link
Contributor Author

ada yg lupa nih, hapus department_id pada tabel users

@fauzipadlaw
Copy link
Contributor Author

OK THIS!

image

@fauzipadlaw
Copy link
Contributor Author

Relasi tabel terbaru

relasi_tabel

@fauzipadlaw
Copy link
Contributor Author

Relasi tabel setelah bimbingan cuy

image

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

No branches or pull requests

1 participant