original_string: protected function generateSchemaAsSql()
      {
          $prefix = ezcDbSchema::$options->tableNamePrefix;
          foreach ( $this->schema as $tableName => $tableDefinition )
          {
              $this->generateDropTableSql( $prefix . $tableName );
              $this->generateCreateTableSql( $prefix . $tableName, $tableDefinition );
          }
      }
code: protected function generateSchemaAsSql()
      {
          $prefix = ezcDbSchema::$options->tableNamePrefix;
          foreach ( $this->schema as $tableName => $tableDefinition )
          {
              $this->generateDropTableSql( $prefix . $tableName );
              $this->generateCreateTableSql( $prefix . $tableName, $tableDefinition );
          }
      }
code_tokens: protected function generateSchemaAsSql ( ) { $ prefix = ezcDbSchema :: $ options -> tableNamePrefix ; foreach ( $ this -> schema as $ tableName => $ tableDefinition ) { $ this -> generateDropTableSql ( $ prefix . $ tableName ) ; $ this -> generateCreateTableSql ( $ prefix . $ tableName , $ tableDefinition ) ; } }
docstring: Creates SQL DDL statements from a schema definitin.
  
  Loops over the tables in the schema definition in $this->schema and
  creates SQL SSL statements for this which it stores internally into the
  $this->queries array.
docstring_tokens: Creates SQL DDL statements from a schema definitin .