Skip to content

Instantly share code, notes, and snippets.

View jzfgo's full-sized avatar
🤓

Javier Zapata jzfgo

🤓
View GitHub Profile
<?php
class InitialDbMigrationCommand extends CConsoleCommand
{
public function run($args) {
$schema = $args[0];
$tables = Yii::app()->db->schema->getTables($schema);
$addForeignKeys = '';
$dropForeignKeys = '';
/*
constructor for Robot
*/
var Robot = function(name) {
this.name = name;
};
/*
property in prototye
*/