aboutsummaryrefslogtreecommitdiffstats
path: root/actiontext/test/dummy/db/migrate/20190317200724_create_reviews.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actiontext/test/dummy/db/migrate/20190317200724_create_reviews.rb')
-rw-r--r--actiontext/test/dummy/db/migrate/20190317200724_create_reviews.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/actiontext/test/dummy/db/migrate/20190317200724_create_reviews.rb b/actiontext/test/dummy/db/migrate/20190317200724_create_reviews.rb
new file mode 100644
index 0000000000..96e0eab287
--- /dev/null
+++ b/actiontext/test/dummy/db/migrate/20190317200724_create_reviews.rb
@@ -0,0 +1,8 @@
+class CreateReviews < ActiveRecord::Migration[6.0]
+ def change
+ create_table :reviews do |t|
+ t.belongs_to :message, null: false
+ t.string :author_name, null: false
+ end
+ end
+end