Domain_Handler 0.0.2 → 0.0.3
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: b5be2b3483f11f84902c332853021b4711cc43e54155c4c22b9f48ab187f27f6
|
4
|
+
data.tar.gz: fad1f62a7f10bfa11884f673cd2fd91d2d0752f781ee252838cd4ecd55781830
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efae9cf57ca4f12d099451e6a3a13841d049eb31d054600b22b93bb3176b34806ff4c4c658365caee2b63eac4a8311ab0c361acb3f0a31699357014b1b495e5a
|
7
|
+
data.tar.gz: b4934050c93fae88496f70592c1b01a589d3a8788c311628db0619d2660dec28d5ed513bcac3be64a9a745dee7991f86e9504c0111aca2a3c58f25a21775bd74
|
@@ -0,0 +1,17 @@
|
|
1
|
+
class CreateDomains < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :domains, id: false, primary_key: :domain_id do |t|
|
4
|
+
t.references :shop, foreign_key: true
|
5
|
+
t.string :host, null: false, default: ''
|
6
|
+
t.string :localization
|
7
|
+
t.string :market_web_presence
|
8
|
+
t.boolean :ssl_enabled, null: false
|
9
|
+
t.string :url
|
10
|
+
t.string :domain_id
|
11
|
+
|
12
|
+
# You probably would want `domain_id` to be unique. In that case...
|
13
|
+
t.index :domain_id, unique: true
|
14
|
+
t.timestamps
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Domain_Handler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arun Sahu
|
@@ -31,6 +31,7 @@ extensions: []
|
|
31
31
|
extra_rdoc_files: []
|
32
32
|
files:
|
33
33
|
- lib/domain_handler.rb
|
34
|
+
- lib/generators/doamin_handler/migration/tempates/create_domain.rb
|
34
35
|
- lib/generators/doamin_handler/migration/tempates/create_domain_generator.rb
|
35
36
|
homepage: https://rubygems.org/gems/hola
|
36
37
|
licenses:
|