Skip to content

Instantly share code, notes, and snippets.

@ydatech
Created October 16, 2016 09:18
Show Gist options
  • Select an option

  • Save ydatech/0f51ef1e5bb4886317e7a21cc5441ab5 to your computer and use it in GitHub Desktop.

Select an option

Save ydatech/0f51ef1e5bb4886317e7a21cc5441ab5 to your computer and use it in GitHub Desktop.
Menambahkan kolom status ke tabel iklan
#generate file migrasi untuk menambahkan kolom status pada tabel iklan
php yii migrate/create add_status_column_to_iklan_table --fields="status:smallinteger"
#terapkan migrasi ke database
php yii migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment