Merge branch 'execute-sqlite' into 'master'
Execute SQLite See merge request pastebin.run/server!16
This commit is contained in:
commit
c11318e075
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