summaryrefslogtreecommitdiff
path: root/db/migrate/20110927130352_create_notes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20110927130352_create_notes.rb')
-rw-r--r--db/migrate/20110927130352_create_notes.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20110927130352_create_notes.rb b/db/migrate/20110927130352_create_notes.rb
new file mode 100644
index 00000000000..72a0e817617
--- /dev/null
+++ b/db/migrate/20110927130352_create_notes.rb
@@ -0,0 +1,12 @@
+class CreateNotes < ActiveRecord::Migration
+ def change
+ create_table :notes do |t|
+ t.string :note
+ t.integer :noteable_id
+ t.string :noteable_type
+ t.integer :author_id
+
+ t.timestamps
+ end
+ end
+end