Skip to content

Commit 685450a

Browse files
authored
make DROPs safer by default (#1184)
1 parent c5f5604 commit 685450a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pgml-dashboard/migrations/20221129170843_notebooks_data.up.sql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -555,11 +555,11 @@ INSERT INTO pgml.notebook_cells VALUES (153, 6, 3, 18, 1, 'SELECT pgml.normalize
555555
INSERT INTO pgml.notebook_cells VALUES (63, 1, 1, 58, 1, 'At this point, the primary limitation of our model is the amount of data, the number of examples we have to train it on. Luckily, as time marches on, and data accumulates in the database, we can simply retrain this model with additional calls to `pgml.train` and watch it adjust as new information becomes available.', '<article class="markdown-body"><p>At this point, the primary limitation of our model is the amount of data, the number of examples we have to train it on. Luckily, as time marches on, and data accumulates in the database, we can simply retrain this model with additional calls to <code>pgml.train</code> and watch it adjust as new information becomes available.</p></article>', NULL, NULL);
556556
INSERT INTO pgml.notebook_cells VALUES (64, 1, 3, 59, 1, '-- If you''d like to start this tutorial over, you can clear out the tables we created.
557557
-- use Ctrl-/ to comment/uncomment blocks in this editor.
558-
DROP TABLE IF EXISTS products CASCADE;
559-
DROP TABLE IF EXISTS orders CASCADE;
560-
DROP TABLE IF EXISTS line_items CASCADE;
561-
DROP TABLE IF EXISTS chargebacks CASCADE;
562-
DROP TABLE IF EXISTS payments CASCADE;', NULL, NULL, NULL);
558+
-- DROP TABLE IF EXISTS products CASCADE;
559+
-- DROP TABLE IF EXISTS orders CASCADE;
560+
-- DROP TABLE IF EXISTS line_items CASCADE;
561+
-- DROP TABLE IF EXISTS chargebacks CASCADE;
562+
-- DROP TABLE IF EXISTS payments CASCADE;', NULL, NULL, NULL);
563563
INSERT INTO pgml.notebook_cells VALUES (65, 2, 1, 1, 1, 'Binary classification means categorizing data into 2 categories. Usually these are categories like:
564564
565565
- `True` or `False`

0 commit comments

Comments
 (0)