diff options
| author | hukl <contact@smyck.org> | 2009-11-11 16:51:54 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-11-11 16:51:54 +0100 |
| commit | 19149240692ae5ca429b6d7d627c9af3fefe2cea (patch) | |
| tree | f2360a1b9ad62aa365d6ab9161a2c5325b26d75d | |
| parent | 01e92228020181f340f64865af609be1b182fb8e (diff) | |
missing editor_id migration
| -rw-r--r-- | db/migrate/20091111154113_add_editor_id_to_pages.rb | 9 |
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 @@ | |||
| 1 | class 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 | ||
| 9 | end | ||
