added news updates ui
This commit is contained in:
12
db/migrate/20111101212358_create_news_updates.rb
Normal file
12
db/migrate/20111101212358_create_news_updates.rb
Normal 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
|
||||
Reference in New Issue
Block a user