thecore 1.3.20 → 1.3.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2cd52dac896d7a464ed6311a27c66f298dac2fac
4
- data.tar.gz: 749149993625e1370d43c359469b4dfbfad1ab68
3
+ metadata.gz: d463f2d0862f8abcaf85bad1719eeadb3c50cd27
4
+ data.tar.gz: 221a925e655d82865e26ac02dfa32bfc06e9d019
5
5
  SHA512:
6
- metadata.gz: 8ba5ab09e8614d9f6d075e60bdf8d72ecadadb06e70b44819a8a515967ca1eb5131abe38b518645d1e13193e9b7488255425715848cd2cdea155f7782f3ca5d0
7
- data.tar.gz: d678cca087627de83e0ac9792b49e69995be31fce2be23663ef109ac51f4184a9fa4b55afbc15b7f66be6d22bfb90588e5c244cbd6697ec3ba6762982d4f80de
6
+ metadata.gz: 2321f16237f0d48d3b9a74048ea59773e88465fd35ec52be8388f5b6033c56a609778e4f669e5630e1b36343b6ccf77a5df7c856ef45c7e53b25861681a7cd48
7
+ data.tar.gz: 41e0bd08a5e9fc5b8cc0395a17492a8bd39c2843badb35ca7811d659cf87c8954879cc21d1be4cf3f9466ab1598617d84d3c895e6d36ea7567f1cda336a5230c
@@ -0,0 +1,26 @@
1
+ # This migration comes from active_storage (originally 20170806125915)
2
+ class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
3
+ def change
4
+ create_table :active_storage_blobs do |t|
5
+ t.string :key, null: false
6
+ t.string :filename, null: false
7
+ t.string :content_type
8
+ t.text :metadata
9
+ t.bigint :byte_size, null: false
10
+ t.string :checksum, null: false
11
+ t.datetime :created_at, null: false
12
+
13
+ t.index [ :key ], unique: true
14
+ end
15
+
16
+ create_table :active_storage_attachments do |t|
17
+ t.string :name, null: false
18
+ t.references :record, null: false, polymorphic: true, index: false
19
+ t.references :blob, null: false
20
+
21
+ t.datetime :created_at, null: false
22
+
23
+ t.index [ :record_type, :record_id, :name, :blob_id ], name: "index_active_storage_attachments_uniqueness", unique: true
24
+ end
25
+ end
26
+ end
@@ -1,3 +1,3 @@
1
1
  module Thecore
2
- VERSION = '1.3.20'
2
+ VERSION = '1.3.21'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.20
4
+ version: 1.3.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-08 00:00:00.000000000 Z
11
+ date: 2018-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -346,6 +346,7 @@ files:
346
346
  - db/migrate/20160331101901_add_code_to_user.rb
347
347
  - db/migrate/20160331101902_add_admin_user.rb
348
348
  - db/migrate/20161029154134_remove_friendly_id_slugs.rb
349
+ - db/migrate/20180410134659_create_active_storage_tables.active_storage.rb
349
350
  - db/seeds.rb
350
351
  - lib/abilities.rb
351
352
  - lib/active_record_extension.rb