062_add_sitealizer_plugin.rb
上传用户:netsea168
上传日期:2022-07-22
资源大小:4652k
文件大小:0k
源码类别:
Ajax
开发平台:
Others
- class AddSitealizerPlugin < ActiveRecord::Migration
- def self.up
- create_table :sitealizer do |t|
- t.column :path, :string
- t.column :ip, :string
- t.column :referer, :string
- t.column :language, :string
- t.column :user_agent, :string
- t.column :created_at, :datetime
- t.column :created_on, :date
- end
- end
- def self.down
- drop_table :sitealizer
- end
- end