Execute SQLite
This commit is contained in:
parent
6e2fd12a94
commit
ba0c35e94a
1
migrations/2019-08-10-160609_execute-sqlite/down.sql
Normal file
1
migrations/2019-08-10-160609_execute-sqlite/down.sql
Normal file
|
@ -0,0 +1 @@
|
|||
DELETE FROM wrappers WHERE language_id = (SELECT language_id FROM languages WHERE name = 'SQLite');
|
4
migrations/2019-08-10-160609_execute-sqlite/up.sql
Normal file
4
migrations/2019-08-10-160609_execute-sqlite/up.sql
Normal file
|
@ -0,0 +1,4 @@
|
|||
INSERT INTO wrappers (language_id, label, code, ordering)
|
||||
SELECT language_id, 'Run', 'sqlite3 < code', 1
|
||||
FROM languages
|
||||
WHERE name = 'SQLite';
|
Loading…
Reference in New Issue
Block a user