about summary refs log tree commit diff
path: root/db/migrate/20160222122600_create_stream_entries.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160222122600_create_stream_entries.rb')
-rw-r--r--db/migrate/20160222122600_create_stream_entries.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20160222122600_create_stream_entries.rb b/db/migrate/20160222122600_create_stream_entries.rb
new file mode 100644
index 000000000..10a6862d9
--- /dev/null
+++ b/db/migrate/20160222122600_create_stream_entries.rb
@@ -0,0 +1,11 @@
+class CreateStreamEntries < ActiveRecord::Migration
+  def change
+    create_table :stream_entries do |t|
+      t.integer :account_id
+      t.integer :activity_id
+      t.string :activity_type
+
+      t.timestamps null: false
+    end
+  end
+end