entity scaffold

This commit is contained in:
2023-01-13 20:50:41 +02:00
parent c46ecb73e0
commit 26ea76c8e9
15 changed files with 272 additions and 1 deletions

View File

@ -0,0 +1,11 @@
class CreateEntities < ActiveRecord::Migration[7.0]
def change
create_table :entities do |t|
t.string :name
t.string :ha_id
t.string :type
t.references :member
t.timestamps
end
end
end