I have a method 'create' in a controller called 'schools'. Only admins can create…
- User
I have a method 'create' in a controller called 'schools'. Only admins can create schools. Now I have to allow reps to create schools with minimal information which then be approved by admin. I will store the schools created by reps in a different table other than the schools table. When an admin will approve the entry, it will be stored in a main 'schools' table.
I am using codeigniter 3, mysql.
- What should be the name of table in which rep created schools will be stored?
- What should be the method called where I will handle the reps action (creating school with minimal info)?
- Should the schools be removed from the table after saving in the main 'schools' table.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.