From 2a4e8aaf7136ab56368a25e4ccf168fc08b58828 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Tue, 9 Oct 2007 01:06:09 -0300 Subject: [PATCH] Added directory with SQL scripts SQL scripts used to alter tables and other changes in the database are added to a directory now. The existing script used to add "aprovado" field to "trabalhos" table was put there. Another script to add "dia" field to "trabalhos" table was also written. --- migration.sql => sql/add_aprovado.sql | 0 sql/add_dia.sql | 1 + 2 files changed, 1 insertion(+) rename migration.sql => sql/add_aprovado.sql (100%) create mode 100644 sql/add_dia.sql diff --git a/migration.sql b/sql/add_aprovado.sql similarity index 100% rename from migration.sql rename to sql/add_aprovado.sql diff --git a/sql/add_dia.sql b/sql/add_dia.sql new file mode 100644 index 0000000..bbce8d5 --- /dev/null +++ b/sql/add_dia.sql @@ -0,0 +1 @@ +ALTER TABLE eventos_trabalho ADD "dia" int; -- 2.20.1