dimanche 22 mars 2015

How to create database table without using migration Laravel

Now I am developing an application for Office attendance marking in Laravel. There are different divisions in office. Each divisions are created by Admin. If admin creates new division, table to enter attendance should be created. This should be created automatically with division creation.


How will I create table without using Migration in Laravel?


Each attendance table should be created with a name "division_name_attendance". It should contain following fields.


Id (primary key) user_id (varchar) date (date) timestamp


can anyone help??





Aucun commentaire:

Enregistrer un commentaire