Create sdg manager

This commit is contained in:
taitus
2020-11-25 12:02:19 +01:00
committed by Javi Martín
parent 599332f26e
commit cd7185f317
6 changed files with 44 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
class CreateSDGManager < ActiveRecord::Migration[5.2]
def change
create_table :sdg_managers do |t|
t.belongs_to :user, foreign_key: true, index: { unique: true }
t.timestamps
end
end
end