From 24de9ac050c6b80e6572415e23b67028cd3d4d17 Mon Sep 17 00:00:00 2001 From: BDC Date: Thu, 18 Apr 2013 23:44:01 -0400 Subject: [PATCH] track db migrations --- .gitignore | 3 +++ db/migrate/000101_restaurant_open_for_business.sql | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 db/migrate/000101_restaurant_open_for_business.sql diff --git a/.gitignore b/.gitignore index e67609499..bdc35dda8 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,6 @@ www/cache/* # huh? workflow* +# include db migrations +!db/migrate/*.sql + diff --git a/db/migrate/000101_restaurant_open_for_business.sql b/db/migrate/000101_restaurant_open_for_business.sql new file mode 100644 index 000000000..9269e2537 --- /dev/null +++ b/db/migrate/000101_restaurant_open_for_business.sql @@ -0,0 +1,2 @@ +ALTER TABLE `restaurant` ADD `open_for_business` TINYINT( 1 ) NOT NULL DEFAULT '1' AFTER `active` +