berthise / HomeCinema

MIT License
1 stars 1 forks source link

Create table bd sur sql-homecinema #3

Open berthise opened 9 years ago

berthise commented 9 years ago

CREATE TABLE USERACTIVATION (CODE VARCHAR(255) NOT NULL, USER BIGINT, PRIMARY KEY (CODE)) ALTER TABLE USERACTIVATION ADD CONSTRAINT USERACTIVATIONUSER FOREIGN KEY (USER) REFERENCES USER_ (ID_USER)

berthise commented 9 years ago

CREATE TABLE USERRETRIEVE (CODE VARCHAR(255) NOT NULL, USER BIGINT, PRIMARY KEY (CODE)) ALTER TABLE USERRETRIEVE ADD CONSTRAINT USERRETRIEVEUSER FOREIGN KEY (USER) REFERENCES USER_ (ID_USER)