diff --git a/migrations/2019-03-06-150750_add-php/down.sql b/migrations/2019-03-06-150750_add-php/down.sql new file mode 100644 index 0000000..5bfc02f --- /dev/null +++ b/migrations/2019-03-06-150750_add-php/down.sql @@ -0,0 +1 @@ +DELETE FROM languages WHERE name = 'PHP'; diff --git a/migrations/2019-03-06-150750_add-php/up.sql b/migrations/2019-03-06-150750_add-php/up.sql new file mode 100644 index 0000000..23c7493 --- /dev/null +++ b/migrations/2019-03-06-150750_add-php/up.sql @@ -0,0 +1,2 @@ +INSERT INTO languages(priority, name, highlighter_mode, mime) VALUES + (10, 'PHP', 'php', 'application/x-httpd-php');