diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-03-16 17:49:20 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-03-18 11:00:53 -0300 |
commit | 1e76245d4e8c5ecbd915c517b6c8923e9c4bbd2d (patch) | |
tree | a6569cd6e14152868e46c7487174e2a1e4eb87e4 /db/migrate/20160316204731_add_commit_id_to_todos.rb | |
parent | 42834095bc92aa2ebe2113a5655227ff0e2799e9 (diff) | |
download | gitlab-ce-1e76245d4e8c5ecbd915c517b6c8923e9c4bbd2d.tar.gz |
Add commit_id to todos
Diffstat (limited to 'db/migrate/20160316204731_add_commit_id_to_todos.rb')
-rw-r--r-- | db/migrate/20160316204731_add_commit_id_to_todos.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20160316204731_add_commit_id_to_todos.rb b/db/migrate/20160316204731_add_commit_id_to_todos.rb new file mode 100644 index 00000000000..ae19fdd1abd --- /dev/null +++ b/db/migrate/20160316204731_add_commit_id_to_todos.rb @@ -0,0 +1,6 @@ +class AddCommitIdToTodos < ActiveRecord::Migration + def change + add_column :todos, :commit_id, :string + add_index :todos, :commit_id + end +end |