This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/00360_create_image_files.rb
2021-08-23 10:26:02 +02:00

20 lines
476 B
Ruby

class CreateImageFiles < ActiveRecord::Migration[6.0]
def change
create_table :image_files do |t|
t.string :file
t.string :name
t.string :slug
t.text :description
t.string :tags
t.integer :album_id
t.string :photograph
t.string :cible_type
t.integer :cible_id
t.string :origin_name
t.string :token_s
t.timestamps
end
end
end