Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

DB primary key (id) 22 Feb 2012 15:16 #1434

Hi,

I have created an application with 7 tables, 3 of which are related.

It wasnt until I downloaded the component that I realised that I had unintentionally created an unwanted primary key field for each table. When I viewed the tables in PHPMyAdmin I noticed there was an 'id' field set by the Cook system and also my '#table#_id' field. Ideally I only want the 'id' field as the other field is not required!

However, when I create a new table I notice that sometimes a field is set to primary (has the star next to it). Am I missing/missunderstanding something?

Best regards,
Kris...

Please Log in or Create an account to join the conversation.

Re: DB primary key 23 Feb 2012 07:12 #1439

OK, so I just removed what I defined as my primary fields and used the automatically generated ones that you cant see in the table builder.

Thanks...

Please Log in or Create an account to join the conversation.

Re: DB primary key 23 Feb 2012 12:17 #1441

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
The yellow star defines the default label key. Not primary key.
Coding is now a piece of cake

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.075 seconds

Real time saver and great Component Builder tool ! I have been developing with J-Cook Pro Component Builder for several months now and can say with all honesty that this product/service is second to none. The product is feature rich and is being improved and added to all the time. Do yourself a favor if you need to build a Joomla! Component then you can do no wrong in trying the product. You will save on time and effort while being able to deliver your project on time. J-Cook pro does the hard work for you you then have the freedom to fully customise the end result for your own needs. 

One word: Awesome.
Edwardcox (JED)
         

Get Started