forked from dachan/dach
added options to boards
This commit is contained in:
parent
0574e65f43
commit
83f7c94275
|
@ -1,6 +1,6 @@
|
|||
<mxfile host="Electron" modified="2023-11-03T18:08:15.917Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.0.2 Chrome/114.0.5735.289 Electron/25.8.4 Safari/537.36" etag="CDK1Nj4BgjkxmFgBeclm" version="22.0.2" type="device">
|
||||
<mxfile host="Electron" modified="2023-11-04T08:21:44.735Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.0.2 Chrome/114.0.5735.289 Electron/25.8.4 Safari/537.36" etag="bmlch-2aJHIhqnmcGaNf" version="22.0.2" type="device">
|
||||
<diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1">
|
||||
<mxGraphModel dx="1839" dy="578" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
|
||||
<mxGraphModel dx="1669" dy="479" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
|
@ -21,7 +21,7 @@
|
|||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="C-vyLk0tnHw3VtMMgP7b-23" value="boards" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="60" width="250" height="130" as="geometry" />
|
||||
<mxGeometry x="30" y="60" width="250" height="160" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="C-vyLk0tnHw3VtMMgP7b-24" value="" style="shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;" parent="C-vyLk0tnHw3VtMMgP7b-23" vertex="1">
|
||||
<mxGeometry y="30" width="250" height="30" as="geometry" />
|
||||
|
@ -62,6 +62,19 @@
|
|||
<mxRectangle width="220" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="lzMxBIVNoJ9j-Thf5CWH-1" value="" style="shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" vertex="1" parent="C-vyLk0tnHw3VtMMgP7b-23">
|
||||
<mxGeometry y="120" width="250" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="lzMxBIVNoJ9j-Thf5CWH-2" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;" vertex="1" parent="lzMxBIVNoJ9j-Thf5CWH-1">
|
||||
<mxGeometry width="30" height="30" as="geometry">
|
||||
<mxRectangle width="30" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="lzMxBIVNoJ9j-Thf5CWH-3" value="settings JSON NOT NULL" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;" vertex="1" parent="lzMxBIVNoJ9j-Thf5CWH-1">
|
||||
<mxGeometry x="30" width="220" height="30" as="geometry">
|
||||
<mxRectangle width="220" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="IqcACfFecUyFIL0cjSVW-16" value="post" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="470" y="290" width="250" height="240" as="geometry" />
|
||||
</mxCell>
|
||||
|
@ -317,15 +330,15 @@
|
|||
<mxRectangle width="220" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="pYs8RI9N3Ibb1gkCTSyZ-1" value="" style="shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" vertex="1" parent="C-vyLk0tnHw3VtMMgP7b-2">
|
||||
<mxCell id="pYs8RI9N3Ibb1gkCTSyZ-1" value="" style="shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" parent="C-vyLk0tnHw3VtMMgP7b-2" vertex="1">
|
||||
<mxGeometry y="180" width="250" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="pYs8RI9N3Ibb1gkCTSyZ-2" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;" vertex="1" parent="pYs8RI9N3Ibb1gkCTSyZ-1">
|
||||
<mxCell id="pYs8RI9N3Ibb1gkCTSyZ-2" value="" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;" parent="pYs8RI9N3Ibb1gkCTSyZ-1" vertex="1">
|
||||
<mxGeometry width="30" height="30" as="geometry">
|
||||
<mxRectangle width="30" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="pYs8RI9N3Ibb1gkCTSyZ-3" value="options varchar(255)" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;" vertex="1" parent="pYs8RI9N3Ibb1gkCTSyZ-1">
|
||||
<mxCell id="pYs8RI9N3Ibb1gkCTSyZ-3" value="options varchar(255)" style="shape=partialRectangle;overflow=hidden;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;" parent="pYs8RI9N3Ibb1gkCTSyZ-1" vertex="1">
|
||||
<mxGeometry x="30" width="220" height="30" as="geometry">
|
||||
<mxRectangle width="220" height="30" as="alternateBounds" />
|
||||
</mxGeometry>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
CREATE TABLE boards (
|
||||
board_id VARCHAR(5) PRIMARY KEY,
|
||||
board_name VARCHAR(32) NOT NULL,
|
||||
threads_ids INT8[]
|
||||
threads_ids INT8[],
|
||||
options JSON
|
||||
);
|
||||
|
||||
CREATE TABLE threads (
|
||||
|
@ -9,7 +10,7 @@ CREATE TABLE threads (
|
|||
thread_name VARCHAR(32),
|
||||
posts_ids INT[],
|
||||
is_locked boolean NOT NULL,
|
||||
is_pinned boolean NOT NULL
|
||||
is_pinned boolean NOT NULL,
|
||||
options VARCHAR(255)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue