Sha256: 8f85743817b4d16ced528ba02e8048fd761941ba9b7e013b50dd646c71b315bb
Contents?: true
Size: 539 Bytes
Versions: 6
Compression:
Stored size: 539 Bytes
Contents
# frozen_string_literal: true class CreateCkeditorAssets < ActiveRecord::Migration[5.2] def up create_table :ckeditor_assets do |t| t.string :data_file_name, null: false t.string :data_content_type t.integer :data_file_size t.string :type, limit: 30 # Uncomment it to save images dimensions, if your need it # t.integer :width # t.integer :height t.timestamps null: false end add_index :ckeditor_assets, :type end def down drop_table :ckeditor_assets end end
Version data entries
6 entries across 6 versions & 2 rubygems