added news updates ui

This commit is contained in:
albert
2011-11-01 17:51:15 -04:00
parent b06857f8bd
commit 461fe9a6dc
21 changed files with 287 additions and 20 deletions

View File

@@ -0,0 +1,12 @@
class CreateNewsUpdates < ActiveRecord::Migration
def change
create_table :news_updates do |t|
t.column :message, :text, :null => false
t.column :creator_id, :integer, :null => false
t.column :updater_id, :integer, :null => false
t.timestamps
end
add_index :news_updates, :created_at
end
end