-
Notifications
You must be signed in to change notification settings - Fork 878
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
68 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ test/dummy/public/uploads/* | |
*.swp | ||
.idea | ||
.DS_Store | ||
Gemfile.lock | ||
Gemfile.lock | ||
dragonfly.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
lib/generators/ckeditor/templates/active_record/carrierwave/migration_versioned.rb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
lib/generators/ckeditor/templates/active_record/dragonfly/migration_versioned.rb
This file was deleted.
Oops, something went wrong.
12 changes: 6 additions & 6 deletions
12
lib/generators/ckeditor/templates/active_record/paperclip/migration.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# frozen_string_literal: true | ||
|
||
class CreateCkeditorAssets < ActiveRecord::Migration | ||
def self.up | ||
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 :data_fingerprint | ||
t.string :type, limit: 30 | ||
|
||
# Uncomment it to save images dimensions, if your need it | ||
t.integer :width | ||
t.integer :height | ||
# 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 self.down | ||
def down | ||
drop_table :ckeditor_assets | ||
end | ||
end |
23 changes: 0 additions & 23 deletions
23
lib/generators/ckeditor/templates/active_record/paperclip/migration_versioned.rb
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
lib/generators/ckeditor/templates/active_record/refile/ckeditor/asset.rb
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
lib/generators/ckeditor/templates/active_record/refile/ckeditor/attachment_file.rb
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
lib/generators/ckeditor/templates/active_record/refile/ckeditor/picture.rb
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
lib/generators/ckeditor/templates/active_record/refile/migration.rb
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
lib/generators/ckeditor/templates/active_record/refile/migration_versioned.rb
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.