This file contains hidden or 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
    
  
  
    
  | require "active_record" | |
| require_relative "generators/my_engine/migration_generator" | |
| require_relative "my_engine/version" | |
| # MyEngine module | |
| # [INFO] Lazy load core components of the engine. | |
| module MyEngine | |
| autoload :Core, "my_engine/core" | |
| autoload :Helpers, "my_engine/helpers" | |
| autoload :Revitalize, "my_engine/revitalize" | 
  
    
      This file contains hidden or 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
    
  
  
    
  | class AddShopAccessScopesColumn < ActiveRecord::Migration[x,x] | |
| def change | |
| add_column :shops, :access_scopes, :string | |
| end | |
| end | 
  
    
      This file contains hidden or 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
    
  
  
    
  | class CreateShops < ActiveRecord::Migration[x.x] | |
| def self.up | |
| create_table :shops do |t| | |
| t.string :shopify_domain, null: false | |
| t.string :shopify_token, null: false | |
| t.timestamps | |
| end | |
| add_index :shops, :shopify_domain, unique: true | |
| end |