Login | Register
My pages Projects Community openCollabNet

Discussions > dev > [propel-dev] remove restriction for primary key

propel
Discussion topic

Back to topic list

[propel-dev] remove restriction for primary key

Reply

Author "Boehm, Matthew" <mboehm at theplanet dot com>
Full name "Boehm, Matthew" <mboehm at theplanet dot com>
Date 2009-03-11 13:50:31 PDT
Message I have an issue with this:

 

build-propel.xml:479:1: Table 'MHT_Support_Ticket_Detail' does not have
a primary key defined. Propel requires all tables to have a primary
key.

 

That table is actually a view comprised from several tables. It doesn't
have a primary key. It doesn't have an auto-increment key. How can I
tell propel that this is a view and to ignore those pk requirements?

 

Perhaps a new attribute would be in order for this?

 

-Matthew

 

Matthew Boehm

Senior MySQL DBA, The Planet - Northstar Managed Hosting

Certified MySQL 5.0 DBA

Certified MySQL 5.1 Cluster DBA

Office: 281-714-4018

Mobile: 832-253-8258

Email: mboehm at theplanet dot com
Attachments

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

[propel-dev] remove restriction for primary key "Boehm, Matthew" <mboehm at theplanet dot com> "Boehm, Matthew" <mboehm at theplanet dot com> 2009-03-11 13:50:31 PDT
     Re: [propel-dev] remove restriction for primary key Guillermo GutiĆ©rrez Almazor <ggutierrez at dailycosas dot net> Guillermo GutiĆ©rrez Almazor <ggutierrez at dailycosas dot net> 2009-03-12 00:39:00 PDT
     Re: [propel-dev] remove restriction for primary key hlellelid Hans Lellelid 2009-03-12 09:28:48 PDT
         RE: [propel-dev] remove restriction for primary key "Boehm, Matthew" <mboehm at theplanet dot com> "Boehm, Matthew" <mboehm at theplanet dot com> 2009-03-12 09:33:57 PDT
Messages per page: