wikichua / simplecontrolpanel

Simple Control Panel (Admin Panel) for Laravel. (STILL Under Development)
MIT License
4 stars 2 forks source link

Fields created_by and updated_by #5

Closed Khludev closed 5 years ago

Khludev commented 5 years ago

I assume that the identifier will always be stored here. Does it make sense to type the text field? I think we need BigInteger.

wikichua commented 5 years ago

yeah, bigInteger or text input can be changed on the config file. im removing the input part because in the controller, the created_by or updated_by will be stored automatically on auth()->id(). depends on your usage. usually if the records belongs to somebody, i will create another field for it. example author_id in books table :D