template id assignment
Posted: 11 August 2004 09:30 AM   [ Ignore ]  
Summer Student
Total Posts:  25
Joined  06-01-2004

Hi,

I have to input some data manually into exp_templates table. I needed to know that how is template_id assigned. Is the the next highest value ?

Tejas Kokje

Profile
 
 
Posted: 11 August 2004 11:12 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12374
Joined  04-29-2002

template_id int(10) unsigned No   auto_increment

It’s auto_increment, you don’t have to assign a number to it.

I’ve written insert statements to make templates on the fly. smile

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64907 Total Logged-in Users: 40
Total Topics: 81849 Total Anonymous Users: 35
Total Replies: 440051 Total Guests: 227
Total Posts: 521900    
Members ( View Memberlist )