mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
10 lines
224 B
Ruby
10 lines
224 B
Ruby
class CreateDirectos < ActiveRecord::Migration
|
|
def change
|
|
create_table :directos do |t|
|
|
t.belongs_to :item, index: true, polymorphic: true
|
|
t.json :response
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|