aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/073_add_ban_user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/073_add_ban_user.rb')
-rw-r--r--db/migrate/073_add_ban_user.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/073_add_ban_user.rb b/db/migrate/073_add_ban_user.rb
new file mode 100644
index 000000000..15a1ea121
--- /dev/null
+++ b/db/migrate/073_add_ban_user.rb
@@ -0,0 +1,10 @@
+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
+