12 lines
228 B
Ruby
12 lines
228 B
Ruby
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
|