From 5d441a86dadfbaefd6189e336a337a18f2705ce0 Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Fri, 21 Sep 2018 17:06:19 +0300 Subject: [PATCH] add migrations --- migrations/1537452694_app.down.sql | 1 + migrations/1537452694_app.up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 migrations/1537452694_app.down.sql create mode 100644 migrations/1537452694_app.up.sql diff --git a/migrations/1537452694_app.down.sql b/migrations/1537452694_app.down.sql new file mode 100644 index 0000000..6fa2da7 --- /dev/null +++ b/migrations/1537452694_app.down.sql @@ -0,0 +1 @@ +alter table bot drop column lang; diff --git a/migrations/1537452694_app.up.sql b/migrations/1537452694_app.up.sql new file mode 100644 index 0000000..e2d0bd2 --- /dev/null +++ b/migrations/1537452694_app.up.sql @@ -0,0 +1 @@ +alter table bot add column lang varchar(2);