删除匿名用户数据迁移
This commit is contained in:
parent
d3c6c0ca99
commit
4ea12a6dc5
|
@ -0,0 +1,8 @@
|
|||
class DeleteAnonymousOrg < ActiveRecord::Migration
|
||||
def up
|
||||
OrgDocumentComment.where(:organization_id => 23, :creator_id => 2).delete_all
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
|
@ -11,7 +11,7 @@
|
|||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20160601073753) do
|
||||
ActiveRecord::Schema.define(:version => 20160606064856) do
|
||||
|
||||
create_table "activities", :force => true do |t|
|
||||
t.integer "act_id", :null => false
|
||||
|
|
Loading…
Reference in New Issue