Skip to content

Instantly share code, notes, and snippets.

@ydatech
Created September 4, 2016 14:12
Show Gist options
  • Select an option

  • Save ydatech/9f87f3c44a7e2d69bc6a21af215e0135 to your computer and use it in GitHub Desktop.

Select an option

Save ydatech/9f87f3c44a7e2d69bc6a21af215e0135 to your computer and use it in GitHub Desktop.
Kota command
# mengenerate migration file untuk membuat table kota
php yii migrate/create create_kota_table --fields="provinsi_id:integer:notNull:foreignKey(provinsi),nama:string(50)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment