diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20131005100610_add_repositories_created_on.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20131005100610_add_repositories_created_on.rb b/db/migrate/20131005100610_add_repositories_created_on.rb new file mode 100644 index 000000000..1f9822107 --- /dev/null +++ b/db/migrate/20131005100610_add_repositories_created_on.rb @@ -0,0 +1,9 @@ +class AddRepositoriesCreatedOn < ActiveRecord::Migration + def up + add_column :repositories, :created_on, :timestamp + end + + def down + remove_column :repositories, :created_on + end +end |