Add post regenerations

This commit is contained in:
BrokenEagle
2020-11-22 07:08:40 +00:00
committed by evazion
parent e6f2bf1c89
commit 16d6f3bbd5
13 changed files with 234 additions and 12 deletions

View File

@@ -0,0 +1,13 @@
class CreatePostRegenerations < ActiveRecord::Migration[6.0]
def change
create_table :post_regenerations do |t|
t.timestamps
t.integer :creator_id, null: false
t.integer :post_id, null: false
t.string :category, null: false
t.index :creator_id
t.index :post_id
end
end
end