diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-10-12 17:42:14 +0300 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-11-16 14:39:13 +0300 |
commit | 14032d8eb1a60ae5920286249c1044be2fa27278 (patch) | |
tree | 78d27cfb47590f5c30b1ae75de60368c5e269cc9 /db/migrate/20151103134958_create_lfs_objects_projects.rb | |
parent | 9179fcece813d0fe54abb5d7a28874cfa799f9c5 (diff) |
Add support for git lfs.
Diffstat (limited to 'db/migrate/20151103134958_create_lfs_objects_projects.rb')
-rw-r--r-- | db/migrate/20151103134958_create_lfs_objects_projects.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20151103134958_create_lfs_objects_projects.rb b/db/migrate/20151103134958_create_lfs_objects_projects.rb new file mode 100644 index 00000000000..f3f58b931ec --- /dev/null +++ b/db/migrate/20151103134958_create_lfs_objects_projects.rb @@ -0,0 +1,12 @@ +class CreateLfsObjectsProjects < ActiveRecord::Migration + def change + create_table :lfs_objects_projects do |t| + t.integer :lfs_object_id, null: false + t.integer :project_id, null: false + + t.timestamps + end + + add_index :lfs_objects_projects, :project_id + end +end |