Skip to content

apimigrationrenametable

Troy Murray edited this page Sep 19, 2011 · 2 revisions

renameTable()

Description

Renames an existing table in the database.

Function Syntax

renameTable(oldName,newName);

Parameters

Parameter Type Required Default Description
oldName string Yes current table name
newName string Yes new table name

Examples

renameTable(oldName='members',newName='users');
Clone this wiki locally