Commit bb5bb818c2e3e488820e619674014da609da9371

Authored by AntonioTerceiro
1 parent 3f2c283c

ActionItem21: adding field for last_changed_by



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@983 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
db/migrate/007_create_articles.rb
... ... @@ -14,9 +14,10 @@ class CreateArticles < ActiveRecord::Migration
14 14 # belongs to profile
15 15 t.column :profile_id, :integer
16 16  
17   - # keep track of timestamps
  17 + # keep track of changes
18 18 t.column :updated_on, :datetime
19 19 t.column :created_on, :datetime
  20 + t.column :last_changed_by_id, :integer
20 21  
21 22 # acts as versioned
22 23 t.column :version, :integer
... ...