Fixes for the review made by @javierm

this commit will be merged with the others when the chages
are accepted
This commit is contained in:
Raúl Fuentes
2018-08-24 15:11:54 +02:00
committed by Javi Martín
parent 88f0f14eab
commit d574657b77
10 changed files with 28 additions and 25 deletions

View File

@@ -7,10 +7,12 @@ class CreateCkeditorAssets < ActiveRecord::Migration
t.string :data_fingerprint
t.string :type, limit: 30
# Uncomment it to save images dimensions, if your need it
# Uncomment it to save images dimensions, if you need it
t.integer :width
t.integer :height
t.integer :user_id
t.timestamps null: false
end

View File

@@ -302,6 +302,7 @@ ActiveRecord::Schema.define(version: 20180813141443) do
t.string "type", limit: 30
t.integer "width"
t.integer "height"
t.integer "user_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end