Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. create table characteristics_history
  2. (
  3. id int auto_increment
  4. primary key,
  5. characteristic_name varchar(20) null,
  6. value float null,
  7. user_id int null,
  8. constraint characteristics_history_id_uindex
  9. unique (id),
  10. constraint characteristics_history_user_id_fk
  11. foreign key (user_id) references user (id)
  12. )
  13. ;
  14.  
  15. create index characteristics_history_user_id_fk
  16. on characteristics_history (user_id)
  17. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement