Archived
1
0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/model/drop.sql
Dan Helfman 6480b86574 Major SQL changes to support faster searching, plus changes to model.Note to support the new SQL. Unit tests all pass.
note_current is now a table containing the current versions of each note, rather than a view.
This makes the tsearch2 index much less bloated with duplicate information
2008-11-11 21:45:18 -08:00

22 lines
538 B
SQL

DROP VIEW luminotes_user_current;
DROP TABLE luminotes_user;
DROP VIEW luminotes_group_current;
DROP TABLE luminotes_group;
DROP TABLE note_current;
DROP TABLE note;
DROP VIEW notebook_current;
DROP TABLE notebook;
DROP TABLE password_reset;
DROP TABLE download_access;
DROP TABLE user_notebook;
DROP TABLE user_group;
DROP TABLE invite;
DROP TABLE file;
DROP TABLE tag;
DROP TABLE tag_notebook;
DROP TABLE tag_note;
DROP TABLE schema_version;
DROP TABLE session;
DROP FUNCTION drop_html_tags( text );
DROP FUNCTION log_note_revision();