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: 1ef5722de03abdc5ddc6e446853611039a3197997bef6dcbb56ed6de5916c0ff
4
- data.tar.gz: 2f81c614a468eb6b595079f024c059cda7cf16510ee312ed3b9c4e71f84e7f22
3
+ metadata.gz: b5be2b3483f11f84902c332853021b4711cc43e54155c4c22b9f48ab187f27f6
4
+ data.tar.gz: fad1f62a7f10bfa11884f673cd2fd91d2d0752f781ee252838cd4ecd55781830
5
5
  SHA512:
6
- metadata.gz: 6426a8aec65577a077d3758292b81ff90c37007e423fede24c4ea351cfb1515702a066aa4fc0299cbf1427614114deba829c1dc5fea2311c9c3258a507680556
7
- data.tar.gz: 29f653070285d064e258dedf5c3a5ad0683fea8abec8d1b9e16c65005a67c1ef23dab639e155edaa3bd3431916fa21d0e14fafb85754a893f8134a90b76ecf60
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.2
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: