 	accountAdmin 			BOOLEAN DEFAULT 0,
 	accountName 			VARCHAR(50) NOT NULL,
 	accountPpEmail    	VARCHAR(75) NOT NULL,
-	accountUserName   	VARCHAR(15) NOT NULL,
+	accountUserName   	VARCHAR(25) NOT NULL,
 	UNIQUE (accountUserName),
 	UNIQUE (accountPpEmail),
 	INDEX (accountImageId),

	FOREIGN KEY (feedbackProductId) REFERENCES product(productId),
	FOREIGN KEY (feedbackSellerId) REFERENCES account(accountId),
	PRIMARY KEY (feedbackId)
);

CREATE TABLE image (
	imageId     			INT UNSIGNED AUTO_INCREMENT NOT NULL,
	imageFileName  		VARCHAR(64) NOT NULL,
	imageType				VARCHAR(5) NOT NULL,
	UNIQUE (imageFileName),
	PRIMARY KEY (imageId)
);

CREATE TABLE message (

	INDEX (productPurchaseProductId),
	INDEX (productPurchasePurchaseId),
	FOREIGN KEY (productPurchaseProductId) REFERENCES product(productId),
	FOREIGN KEY (productPurchasePurchaseId) REFERENCES purchase(purchaseId),
	PRIMARY KEY (productPurchasePurchaseId, productPurchaseProductId)
);



