podoc:photo_item_sql_table
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
podoc:photo_item_sql_table [2007/04/18 14:06] – Luud | podoc:photo_item_sql_table [2007/10/19 15:51] (current) – Luud | ||
---|---|---|---|
Line 11: | Line 11: | ||
=== Schema === | === Schema === | ||
- | < | + | < |
create table photo_item ( | create table photo_item ( | ||
identifier | identifier | ||
photo | photo | ||
- | shop_item | + | shop_item |
price | price | ||
currency | currency | ||
Line 25: | Line 25: | ||
</ | </ | ||
- | === Related | + | === References |
- | * [[photo sql table|photo]] | + | * currency references [[currency sql table|currency]](identifier) |
+ | * photo references | ||
+ | * shop_item references [[shop_item sql table|shop_item]](identifier) | ||
+ | |||
+ | === Is referenced by tables === | ||
+ | |||
+ | * [[shop_order sql table|shop_order]](item) references identifier | ||
=== Related sequences === | === Related sequences === | ||
Line 35: | Line 41: | ||
=== Related indexes === | === Related indexes === | ||
- | | + | None. |
=== Related functions === | === Related functions === | ||
* [[is_photo_for_sale sql function|is_photo_for_sale]] | * [[is_photo_for_sale sql function|is_photo_for_sale]] | ||
+ | * [[photo_shop_transaction_references sql function|photo_shop_transaction_references]] | ||
=== Related views === | === Related views === | ||
+ | |||
+ | None. | ||
=== History === | === History === | ||
Line 51: | Line 60: | ||
== Used last == | == Used last == | ||
- | Still in use | + | Version 2.33 |
== Schema change history == | == Schema change history == | ||
Line 57: | Line 66: | ||
= Version 2.8 = | = Version 2.8 = | ||
- | < | + | < |
create table photo_item ( | create table photo_item ( | ||
identifier | identifier | ||
Line 72: | Line 81: | ||
= Version 2.19 = | = Version 2.19 = | ||
- | < | + | < |
alter table photo_item rename column format to shop_item; | alter table photo_item rename column format to shop_item; | ||
</ | </ | ||
Line 78: | Line 87: | ||
= Version 2.29 = | = Version 2.29 = | ||
- | < | + | < |
alter table photo_item add deleted char(1) check (deleted in (' | alter table photo_item add deleted char(1) check (deleted in (' | ||
+ | </ | ||
+ | |||
+ | = Version 2.34 = | ||
+ | |||
+ | <code sql> | ||
+ | drop table photo_item; | ||
</ | </ | ||
Line 86: | Line 101: | ||
= Version 2.29 = | = Version 2.29 = | ||
- | < | + | < |
update photo_item set deleted=' | update photo_item set deleted=' | ||
</ | </ | ||
podoc/photo_item_sql_table.txt · Last modified: 2007/10/19 15:51 by Luud