summaryrefslogtreecommitdiff
path: root/db/migrate/20120127101726_create_system_messages.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20120127101726_create_system_messages.rb')
-rw-r--r--db/migrate/20120127101726_create_system_messages.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20120127101726_create_system_messages.rb b/db/migrate/20120127101726_create_system_messages.rb
new file mode 100644
index 0000000..830f54a
--- /dev/null
+++ b/db/migrate/20120127101726_create_system_messages.rb
@@ -0,0 +1,13 @@
+class CreateSystemMessages < ActiveRecord::Migration
+ def self.up
+ create_table :system_messages do |t|
+ t.integer :user_id
+ t.string :content
+ t.timestamps
+ end
+ end
+
+ def self.down
+ drop_table :system_messages
+ end
+end