diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-05-04 04:36:02 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-05-04 21:36:04 +0300 |
commit | cdcbe99aa749d4516f47ca9d2e7d510dc29d1c91 (patch) | |
tree | 48589a1a3cb76d9bd0732d446bea71f97fa91d8b /db/migrate/20170503004125_add_last_repository_updated_at_to_projects.rb | |
parent | 7a66cd688aea6bd7d1103d0024204a1470153975 (diff) |
Add last_repository_updated_at to projects
Diffstat (limited to 'db/migrate/20170503004125_add_last_repository_updated_at_to_projects.rb')
-rw-r--r-- | db/migrate/20170503004125_add_last_repository_updated_at_to_projects.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20170503004125_add_last_repository_updated_at_to_projects.rb b/db/migrate/20170503004125_add_last_repository_updated_at_to_projects.rb new file mode 100644 index 00000000000..00c685cf342 --- /dev/null +++ b/db/migrate/20170503004125_add_last_repository_updated_at_to_projects.rb @@ -0,0 +1,7 @@ +class AddLastRepositoryUpdatedAtToProjects < ActiveRecord::Migration + DOWNTIME = false + + def change + add_column :projects, :last_repository_updated_at, :datetime + end +end |