ext_tables.sql¶
Create the file ext_tables.sql.
Copy the code from below into ext_tables.sql. Replace "some_table" with the name of the table, you want to extend with a root pid.
CREATE TABLE some_table (
rootpid int(11) DEFAULT '0' NOT NULL,
);