add()
create()
delete()
drop()
rename_field()
rename_table()
_generate_field_string()
Oil\Generate_Migration_Actions Handles actions for generating migrations in Oil
package | Fuel |
---|---|
subpackage | Oil |
category | Core |
author | Tom Arnfeld, Harro Verton |
add($subjects, $fields) : \Oil\array(up,
oil command: add_{thing}to{tablename}
array
array
\Oil\array(up,
down)create($subjects, $fields) : \Oil\array(up,
oil command: create_{tablename}
array
array
\Oil\array(up,
down)delete($subjects, $fields) : \Oil\array(up,
oil command: delete_{thing}from{tablename}
array
array
\Oil\array(up,
down)drop($subjects, $fields) : \Oil\array(up,
oil command: drop_{tablename}
array
array
\Oil\array(up,
down)rename_field($subjects, $fields) : \Oil\array(up,
oil command: rename_field_{fieldname}to{newfieldname}in{table}
array
array
\Oil\array(up,
down)rename_table($subjects, $fields) : \Oil\array(up,
oil command: rename_table_{tablename}to{newtablename}
array
array
\Oil\array(up,
down)_generate_field_string($fields)