-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
77 changed files
with
2,710 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,3 +64,4 @@ Thumbs.db | |
|
||
|
||
/.vscode/launch.json | ||
/*.sqlite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// This file is generated by command: firedev release | ||
// With this configuration you can use: firedev automatic:release:docs | ||
// This file is generated by command: taon release | ||
// With this configuration you can use: taon automatic:release:docs | ||
{ | ||
build: true, | ||
prod: false, | ||
websql: false, | ||
projName: 'firedev', | ||
projName: 'taon', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# SQL - best practices | ||
|
||
|
||
## Use CURRENT_TIMESTAMP instead NOW() | ||
|
||
 | ||
|
||
|
||
## Use integer instead int | ||
|
||
sqlite does not support it |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<mxfile host="65bd71144e"> | ||
<diagram id="hX58gXemlc1ROdKSPT1T" name="Page-1"> | ||
<mxGraphModel dx="793" dy="508" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="0"/> | ||
<mxCell id="1" parent="0"/> | ||
<mxCell id="23" value="Migrations" style="shape=table;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fontStyle=1;align=center;gradientColor=none;" parent="1" vertex="1"> | ||
<mxGeometry x="60" width="620" height="360" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="24" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="23" vertex="1"> | ||
<mxGeometry y="30" width="620" height="49" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="25" value="" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="24" vertex="1"> | ||
<mxGeometry width="207" height="49" as="geometry"> | ||
<mxRectangle width="207" height="49" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="26" value="Normal mode" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="24" vertex="1"> | ||
<mxGeometry x="207" width="206" height="49" as="geometry"> | ||
<mxRectangle width="206" height="49" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="27" value="Websql Mode<br>" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="24" vertex="1"> | ||
<mxGeometry x="413" width="207" height="49" as="geometry"> | ||
<mxRectangle width="207" height="49" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="28" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="23" vertex="1"> | ||
<mxGeometry y="79" width="620" height="141" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="29" value="<div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: #a31515;">DROP_DB+MIGRATIONS</span></div>" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="28" vertex="1"> | ||
<mxGeometry width="207" height="141" as="geometry"> | ||
<mxRectangle width="207" height="141" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="30" value="- recrate db and all entites<br>- do not preserve data<br>- do not run migrations<br>- persists default entities" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="28" vertex="1"> | ||
<mxGeometry x="207" width="206" height="141" as="geometry"> | ||
<mxRectangle width="206" height="141" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="31" value="- recrate db and all entites<br style="border-color: var(--border-color);">- do not preserve data<br style="border-color: var(--border-color);">- do not run migrations<br style="border-color: var(--border-color);">- persists default entities<br>RELOAD WILL DROP DB" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="28" vertex="1"> | ||
<mxGeometry x="413" width="207" height="141" as="geometry"> | ||
<mxRectangle width="207" height="141" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="32" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="23" vertex="1"> | ||
<mxGeometry y="220" width="620" height="140" as="geometry"/> | ||
</mxCell> | ||
<mxCell id="33" value="<div style="background-color: rgb(255, 255, 255); font-family: Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: #a31515;">PRESERVE_DATA+MIGRATIONS</span></div>" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="32" vertex="1"> | ||
<mxGeometry width="207" height="140" as="geometry"> | ||
<mxRectangle width="207" height="140" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="34" value="- preserve data<br>- run migrations<br>- persits default entities" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="32" vertex="1"> | ||
<mxGeometry x="207" width="206" height="140" as="geometry"> | ||
<mxRectangle width="206" height="140" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="35" value="- preserve data<br style="border-color: var(--border-color);">- run migrations<br>(WHEN SWITCHING FIRST TIME <br>IT WILL MARKA ALL MIGRATION AS COMPLETED)<br style="border-color: var(--border-color);">- persits default entities<br>RELOAD WILL PRESERVE DATA" style="shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;overflow=hidden;" parent="32" vertex="1"> | ||
<mxGeometry x="413" width="207" height="140" as="geometry"> | ||
<mxRectangle width="207" height="140" as="alternateBounds"/> | ||
</mxGeometry> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,5 +19,13 @@ | |
deafultBranch: "master", | ||
relativeClonePath: "subscriber-inject", | ||
repoUrl: "https://github.com/darekf77/subscriber-inject.git", | ||
}, { | ||
deafultBranch: "master", | ||
relativeClonePath: "migration", | ||
repoUrl: "[email protected]:darekf77/migration.git", | ||
}, { | ||
deafultBranch: "master", | ||
relativeClonePath: "sample-migration", | ||
repoUrl: "[email protected]:darekf77/sample-migration.git", | ||
}] | ||
} |
Oops, something went wrong.