summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-11-11 16:51:54 +0100
committerhukl <contact@smyck.org>2009-11-11 16:51:54 +0100
commit19149240692ae5ca429b6d7d627c9af3fefe2cea (patch)
treef2360a1b9ad62aa365d6ab9161a2c5325b26d75d /db/migrate
parent01e92228020181f340f64865af609be1b182fb8e (diff)
missing editor_id migration
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20091111154113_add_editor_id_to_pages.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20091111154113_add_editor_id_to_pages.rb b/db/migrate/20091111154113_add_editor_id_to_pages.rb
new file mode 100644
index 0000000..971b8a3
--- /dev/null
+++ b/db/migrate/20091111154113_add_editor_id_to_pages.rb
@@ -0,0 +1,9 @@
1class AddEditorIdToPages < ActiveRecord::Migration
2 def self.up
3 add_column :pages, :editor_id, :integer
4 end
5
6 def self.down
7 remove_column :pages, :editor_id
8 end
9end