087_drop_blacklist_patterns.rb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:0k
源码类别:
Ajax
开发平台:
Others
- class DropBlacklistPatterns < ActiveRecord::Migration
- def self.up
- drop_table :blacklist_patterns
- end
- def self.down
- create_table :blacklist_patterns do |t|
- t.column :type, :string
- t.column :pattern, :string
- end
- add_index :blacklist_patterns, :pattern
- end
- end