Browse Source

add some sql

Brennen Bearnes 2 months ago
parent
commit
df7f928f24
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      lib/App/MarkFiles.pm

+ 13
- 0
lib/App/MarkFiles.pm View File

@@ -111,6 +111,19 @@ sub create_mark_db {
111 111
       path text,
112 112
       datetime text
113 113
     );
114
+
115
+    CREATE TABLE things (
116
+      id integer primary key,
117
+      address text
118
+    );
119
+
120
+    CREATE TABLE links (
121
+      id integer primary key,
122
+      from_thing integer,
123
+      to_thing integer,
124
+      created text,
125
+      updated text
126
+    );
114 127
 SQL
115 128
   );
116 129
 }