mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-10 21:24:20 +01:00
14 lines
260 B
Ruby
14 lines
260 B
Ruby
# frozen_string_literal:true
|
|
|
|
class CreateAssets < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :assets do |t|
|
|
t.references :viewable, polymorphic: true
|
|
t.string :attachment
|
|
t.string :type
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|