5520fe5892
* change controller.Notebooks.load_note_revisions() to select and return User_revision objects * change controller.Notebooks.save_note() to use User_revision objects for new_revision and previous_revision as well * update client to deal with new load_note_revisions() return values (make sure all uses of revisions_list are updated) * update client to deal with new new_revision/previous_revision * update changes pulldown to show username along with each timestamp * update model.Invite to load redeemed_username along with redeemed_user_id * display the redeemed username next to each email address in the "share this notebook" note
7 lines
282 B
SQL
7 lines
282 B
SQL
update notebook set user_id = user_notebook.user_id
|
|
from user_notebook
|
|
where user_notebook.notebook_id = notebook.id and read_write = 't' and owner = 't';
|
|
update note set user_id = notebook_current.user_id
|
|
from notebook_current
|
|
where note.notebook_id = notebook_current.id;
|