/** * Creates the migration table */ public static function create_migration_table() { Migration::$show_sql = false; $exists = static::migration_table_exists(); $table = static::migration_table_name(); $mig = new Migration(); $t = $mig->create_table($table); $t->string('version'); if (!$exists) { $t->go(); } }
public static function create_migration_table() { Migration::$show_sql = false; $table = self::migration_table_name(); $mig = new Migration(); $t = $mig->create_table($table); $t->string('version'); $t->go(); }