Last active
May 23, 2016 16:27
-
-
Save hariadi/709ce461f8c447914aaf577427f8bfa7 to your computer and use it in GitHub Desktop.
eluarnegara db schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php artisan generate:migration create_users_table --fields="ic:string,name:string,email:string:unique,organization_id:integer:nullable,phone:string:nullable,position:string:nullable,grade:smallinteger:nullable,appointment_at,appointment_at_psd," | |
php artisan generate:migration create_organizations_table --fields="parent_id:integer:nullable,name:string,director_id:integer," | |
php artisan generate:migration create_applications_table --fields="user_id:integer,title:string,purpose:text:nullable,country:string:nullable,going_at,return_at,options:text:nullable,status:default('false'):index,approved_by:integer:index," | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment