Part of the EllisLab Network

Bug Report

IF NOT EXISTS logic missing from CREATE TABLE functions

Date: 06/11/2008 Severity: Minor
Status: Unconfirmed Reporter: Thody
Version: 1.6.2
Keywords: Libraries, Database Class

Description

The second paramater in create_table method in database forge does nothing.

Code Sample

$this->dbforge->create_table('my_table',TRUE);

Expected Result

An optional second parameter set to TRUE adds an “IF NOT EXISTS” clause into the definition

Actual Result

A standard CREATE TABLE query

Comment on Bug Report

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?