Revision 1078:b9e34a051f82 vendor/plugins/redmine_bibliography/db/migrate

View differences:

vendor/plugins/redmine_bibliography/db/migrate/008_add_doi_and_timestamp_columns_to_publications.rb
1
class AddDoiAndTimestampColumnsToPublications < ActiveRecord::Migration
2
  def self.up
3
    add_column :publications, :doi, :string
4
    add_timestamps :publications
5

  
6
  end
7

  
8
  def self.down
9
    remove_column :publications, :doi
10
    remove_timestamps :publications
11
  end
12
end
vendor/plugins/redmine_bibliography/db/migrate/009_add_timestamp_columns_to_authors.rb
1
class AddTimestampColumnsToAuthors < ActiveRecord::Migration
2
  def self.up
3
    add_timestamps :authors
4
  end
5

  
6
  def self.down
7
    remove_timestamps :authors
8
  end
9
end

Also available in: Unified diff