Mercurial > hg > soundsoftware-site
view .svn/pristine/8a/8a0afb114464a58c980d1c1fc330e4d0f4da9931.svn-base @ 1087:74407a04925c issue_540
* (publication.rb) - fixed the acts_as_activity query (see diff to previous commit) - not returning duplicate results any longer; added the visible scope to the publication model;
* (init.rb) - created a new public permission - view_publication.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 23 Nov 2012 17:25:27 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class <%= class_name %> < ActiveRecord::Migration def self.up drop_table :open_id_authentication_settings drop_table :open_id_authentication_nonces create_table :open_id_authentication_nonces, :force => true do |t| t.integer :timestamp, :null => false t.string :server_url, :null => true t.string :salt, :null => false end end def self.down drop_table :open_id_authentication_nonces create_table :open_id_authentication_nonces, :force => true do |t| t.integer :created t.string :nonce end create_table :open_id_authentication_settings, :force => true do |t| t.string :setting t.binary :value end end end