Created
September 4, 2016 12:46
-
-
Save ydatech/64aa840ac4be9ea2605ed9a285aebe49 to your computer and use it in GitHub Desktop.
Command to create kontak table
This file contains hidden or 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
| # membuat migration file untuk table baru bernama kontak beserta kolomnya | |
| php yii migrate/create create_kontak_table --fields="user_id:integer:notNull:foreignKey(user),nama:string(255):notNull,no_hp:string(15),whatsapp:string(15),telegram:string(20),line:string(20),bbm:string(10),dibuat_pada:integer(10),diperbarui_pada:integer(10)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment