diff options
| author | Valery Sizov <vsv2711@gmail.com> | 2012-02-19 21:52:05 +0200 |
|---|---|---|
| committer | Valery Sizov <vsv2711@gmail.com> | 2012-02-19 21:52:05 +0200 |
| commit | 85974948e778f5261cc24a2911bd652a91e950da (patch) | |
| tree | 0554502fbf8545ad8692ed8e1402ac3c26cf8e35 /db | |
| parent | b565cd1972b32071420c51004ba78b6c22cb5742 (diff) | |
| download | gitlab-ce-85974948e778f5261cc24a2911bd652a91e950da.tar.gz | |
Wiki: history
Diffstat (limited to 'db')
| -rw-r--r-- | db/migrate/20120219193300_add_user_to_wiki.rb | 6 | ||||
| -rw-r--r-- | db/schema.rb | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/db/migrate/20120219193300_add_user_to_wiki.rb b/db/migrate/20120219193300_add_user_to_wiki.rb new file mode 100644 index 00000000000..8a6c0a06ef0 --- /dev/null +++ b/db/migrate/20120219193300_add_user_to_wiki.rb @@ -0,0 +1,6 @@ +class AddUserToWiki < ActiveRecord::Migration + def change + add_column :wikis, :user_id, :integer + + end +end diff --git a/db/schema.rb b/db/schema.rb index 752da4b5449..c32df7ea198 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20120219140810) do +ActiveRecord::Schema.define(:version => 20120219193300) do create_table "issues", :force => true do |t| t.string "title" @@ -166,6 +166,7 @@ ActiveRecord::Schema.define(:version => 20120219140810) do t.datetime "created_at", :null => false t.datetime "updated_at", :null => false t.string "slug" + t.integer "user_id" end end |
