Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rename translation.updated to translation.primary_updated

  • Loading branch information...
commit c94fdee5c3ce5cd40a05e4a721e88ebbfe2ba76d 1 parent 6d5b445
Pratik authored
4  db/migrate/20100408173138_add_updated_stuff.rb
... ...
@@ -1,11 +1,11 @@
1 1
 class AddUpdatedStuff < ActiveRecord::Migration
2 2
   def self.up
3  
-    add_column :translations, :updated, :boolean, :default => false
  3
+    add_column :translations, :primary_updated, :boolean, :default => false
4 4
     add_column :translations, :previous_text, :text
5 5
   end
6 6
 
7 7
   def self.down
8 8
     remove_column :translations, :previous_text
9  
-    remove_column :translations, :updated
  9
+    remove_column :translations, :primary_updated
10 10
   end
11 11
 end
2  db/schema.rb
@@ -29,7 +29,7 @@
29 29
     t.text     "text"
30 30
     t.datetime "created_at"
31 31
     t.datetime "updated_at"
32  
-    t.boolean  "updated",       :default => false
  32
+    t.boolean  "primary_updated", :default => false
33 33
     t.text     "previous_text"
34 34
   end
35 35
 
2  generators/tolk_migration/templates/migrate/create_tolk_tables.rb
@@ -17,7 +17,7 @@ def self.up
17 17
       t.integer  :locale_id
18 18
       t.text     :text
19 19
       t.text     :previous_text
20  
-      t.boolean  :updated, :default => false
  20
+      t.boolean  :primary_updated, :default => false
21 21
       t.datetime :created_at
22 22
       t.datetime :updated_at
23 23
     end

0 notes on commit c94fdee

Please sign in to comment.
Something went wrong with that request. Please try again.