-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Guillaume Aubert
committed
Jun 23, 2010
1 parent
e67f0e8
commit 631c49d
Showing
3 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,7 @@ | |||
1) Products and Formats | 1) Products and Formats | ||
|
|
||
In the table product a product can have multiple formats. This will result in having multiple files of the same product in different format being disseminated. Maybe the same product with 2 different format should be described as 2 different products (easier to distinguish for the dissemination). | In the table product a product can have multiple formats. This will result in having multiple files of the same product in different format being disseminated. Maybe the same product with 2 different format should be described as 2 different products (easier to distinguish for the dissemination). | ||
|
|||
2) filesizes | |||
|
|||
What does it mean 700KB, 700KB (repetition of twice the same info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,16 @@ | |||
use rodd; | use rodd; | ||
|
|
||
DROP TABLE IF EXISTS format_type; | DROP TABLE IF EXISTS format_type; | ||
DROP TABLE IF EXISTS products_formats; | |||
|
|
||
|
|
||
CREATE TABLE IF NOT EXISTS products_formats ( | |||
roddID INTEGER PRIMARY KEY, | |||
formatTypeID INTEGER | |||
); | |||
|
|||
CREATE TABLE IF NOT EXISTS format_type ( | CREATE TABLE IF NOT EXISTS format_type ( | ||
formatTypeID INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, | formatTypeID INTEGER AUTO_INCREMENT PRIMARY KEY, | ||
name VARCHAR(256), | name VARCHAR(256), | ||
description VARCHAR(1024) | description VARCHAR(1024) | ||
-- PRIMARY KEY(formatTypeID) | |||
); | ); | ||
|