UNPKG

farjs-app

Version:

FAR.js - Cross-platform File and Archive Manager app in your terminal

22 lines 2.06 kB
[ { "file" : "V001__add_history_folders_table.sql", "content" : "\n-- non-transactional\nPRAGMA foreign_keys = ON;\n\nCREATE TABLE history_folders (\n path text PRIMARY KEY,\n updated_at integer NOT NULL\n);\n\nCREATE INDEX idx_history_folders_updated_at ON history_folders (updated_at);\n" }, { "file" : "V002__recreate_history_folders_table.sql", "content" : "\nDROP TABLE history_folders;\n\nCREATE TABLE history_folders (\n item text PRIMARY KEY,\n updated_at integer NOT NULL\n);\n\nCREATE INDEX idx_history_folders_updated_at ON history_folders (updated_at);\n" }, { "file" : "V003__add_history_mkdirs_table.sql", "content" : "\nCREATE TABLE history_mkdirs (\n item text PRIMARY KEY,\n updated_at integer NOT NULL\n);\n\nCREATE INDEX idx_history_mkdirs_updated_at ON history_mkdirs (updated_at);\n" }, { "file" : "V004__add_history_select_patterns_table.sql", "content" : "\nCREATE TABLE history_select_patterns (\n item text PRIMARY KEY,\n updated_at integer NOT NULL\n);\n\nCREATE INDEX idx_history_select_patterns_updated_at\n ON history_select_patterns (updated_at);\n" }, { "file" : "V005__add_history_copy_items_table.sql", "content" : "\nCREATE TABLE history_copy_items (\n item text PRIMARY KEY,\n updated_at integer NOT NULL\n);\n\nCREATE INDEX idx_history_copy_items_updated_at\n ON history_copy_items (updated_at);\n" }, { "file" : "V006__add_folder_shortcuts_table.sql", "content" : "\nCREATE TABLE folder_shortcuts (\n id integer PRIMARY KEY,\n path text NOT NULL\n);\n" }, { "file" : "V007__add_history_file_views_table.sql", "content" : "\nCREATE TABLE history_file_views (\n path text NOT NULL,\n is_edit boolean NOT NULL,\n encoding text NOT NULL,\n position double NOT NULL,\n wrap boolean,\n column integer,\n updated_at integer NOT NULL,\n \n PRIMARY KEY (path, is_edit)\n);\n\nCREATE INDEX idx_history_file_views_updated_at ON history_file_views (updated_at);\n" } ]