From a54559dc57014eea4aa1dc63a207f6a3e086281b Mon Sep 17 00:00:00 2001 From: Azul <azul@riseup.net> Date: Thu, 27 Feb 2014 11:19:24 +0100 Subject: [PATCH] cleanup keys table from translations engine otherwise we can't create a new keys table --- config/deploy.rb | 2 +- db/migrate/20110215132532_install_acts_as_locked.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index ec8e9dfc4..50e8cf6b7 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -18,7 +18,7 @@ set :application, "crabgrass" set :user, "crabgrass" set :repository, "git://labs.riseup.net/crabgrass-core.git" -set :branch, "develop" +set :branch, "bugfix/fix-migrations" deploy_host = "" staging_host = "we.dev.riseup.net" diff --git a/db/migrate/20110215132532_install_acts_as_locked.rb b/db/migrate/20110215132532_install_acts_as_locked.rb index 98623262b..6b38d34cb 100644 --- a/db/migrate/20110215132532_install_acts_as_locked.rb +++ b/db/migrate/20110215132532_install_acts_as_locked.rb @@ -1,5 +1,6 @@ class InstallActsAsLocked < ActiveRecord::Migration def self.up + drop_table :keys if ActiveRecord::Base.connection.table_exists? :keys create_table :keys do |p| p.integer :mask, :default => 0 p.integer :locked_id -- GitLab