blob: 045c65fcda34c242d9cc01e791ce08dc490918c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# -*- encoding : utf-8 -*-
class AddBanUser < ActiveRecord::Migration
def self.up
add_column :users, :ban_text, :text, :null => false, :default => ""
end
def self.down
remove_column :users, :ban_text
end
end
|