alter table user_notebook add column rank numeric; -- You should also run the tools/set_ranks.py script to rank unranked notebooks.