Mercurial > hg > soundsoftware-site
changeset 1056:6b67deb0674b bibplugin_db_migrations
Migration to add timestamps to Authors table
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 19 Nov 2012 18:58:29 +0000 |
parents | b6f7225bf954 |
children | 8f2065eac749 cde00909adc8 8b57fd618c84 |
files | vendor/plugins/redmine_bibliography/db/migrate/009_add_timestamp_columns_to_authors.rb |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/plugins/redmine_bibliography/db/migrate/009_add_timestamp_columns_to_authors.rb Mon Nov 19 18:58:29 2012 +0000 @@ -0,0 +1,9 @@ +class AddTimestampColumnsToAuthors < ActiveRecord::Migration + def self.up + add_timestamps :authors + end + + def self.down + remove_timestamps :authors + end +end