aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-01-22 19:42:53 +1100
committerHenare Degan <henare.degan@gmail.com>2013-01-22 19:42:53 +1100
commit5e9ad91af5d71524c095c6d0e5003a7a25653d27 (patch)
tree280a48a57d7935934f8b3759cd757eced80518ce
parent50dd3ad01371e73912f8c2bf3a9fad70c8aa94fb (diff)
We expect timestamps in a later migration but they're no longer added by the newer version of acts_as_versioned we're using since 2ba57e8
-rw-r--r--db/migrate/006_version_public_body.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/006_version_public_body.rb b/db/migrate/006_version_public_body.rb
index 34586add2..0e4527133 100644
--- a/db/migrate/006_version_public_body.rb
+++ b/db/migrate/006_version_public_body.rb
@@ -1,6 +1,8 @@
class VersionPublicBody < ActiveRecord::Migration
def self.up
PublicBody.create_versioned_table
+
+ add_timestamps(:public_body_versions)
end
def self.down