[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

payment_type table



Below is the payment_type table definition.  Does anyone know why the label field is primary rather than the id field?


CREATE TABLE payment_type
(
  id serial NOT NULL,
  label text NOT NULL,
  CONSTRAINT payment_type_pkey PRIMARY KEY (label ),
  CONSTRAINT payment_type_id_key UNIQUE (id )
)

Thanks.
Brian

Brian Wolf
Phone: 410.367.2958
Email: ..hidden..
Try out Activus Secure Payments™, our recurring payments application.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users