Skip to content

Commit 7a473cd

Browse files
committed
README for SQL code
1 parent 2e9c166 commit 7a473cd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sql/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### Adding SQL
2+
3+
4+
- Never drop the configuration table as it may contain customer data and needs to live across EQL versions
5+
- Everything else should have a DROP IF EXISTS
6+
- Functions should be DROP and CREATE, instead of CREATE OR REPLACE
7+
- Data types cannot be changed once created, so dropping first is more flexible
8+
- Keep DROP and CREATE together in the code
9+
- Types need to be dropped last, add to the `666-drop_types.sql`
10+
11+
12+
13+

0 commit comments

Comments
 (0)