model_driven_api 3.0.3 → 3.0.5
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 121cf90a81e77e493340b5349aead00f2511ffbb5ed9ae2ece60b1c42b5df179
|
4
|
+
data.tar.gz: 24eced53d7abec52c76ecd4ebf5185f3d66fc532c1c5cb08e0a84bcf71fa5916
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dde33d3d868f96d4f3ae77087d627fbba457190c2114075129e6ab414379b6debdd4165be69b0c8795c138da100892d063c67f7acbe5655e52367b6c9f0bce3
|
7
|
+
data.tar.gz: bf614a1100e17e58c1380ebbdf1422687c2e78050abe970f38366c09365c304f70b3fa2af9ff565d5a89e62c55e7628999a0bb946d5346868044868106f40ef0
|
@@ -1,12 +1,12 @@
|
|
1
|
-
class CreateUsedTokens < ActiveRecord::Migration[
|
1
|
+
class CreateUsedTokens < ActiveRecord::Migration[7.0]
|
2
2
|
def change
|
3
|
-
create_table :used_tokens do |t|
|
3
|
+
create_table :used_tokens, if_not_exists: true do |t|
|
4
4
|
t.string :token
|
5
5
|
t.references :user, null: false, foreign_key: true
|
6
6
|
t.boolean :valid, default: true
|
7
7
|
|
8
8
|
t.timestamps
|
9
9
|
end
|
10
|
-
add_index :used_tokens, :token, unique: true
|
10
|
+
add_index :used_tokens, :token, unique: true, if_not_exists: true
|
11
11
|
end
|
12
12
|
end
|
@@ -1,6 +1,6 @@
|
|
1
|
-
class RenameValidToIsValidInUsedToken < ActiveRecord::Migration[
|
1
|
+
class RenameValidToIsValidInUsedToken < ActiveRecord::Migration[7.0]
|
2
2
|
def change
|
3
|
-
change_table :used_tokens do |t|
|
3
|
+
change_table :used_tokens, if_not_exists: true do |t|
|
4
4
|
t.rename :valid, :is_valid
|
5
5
|
end
|
6
6
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: model_driven_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_backend_commons
|