title: Truffle migrate command ReferenceError: Migrations not defined?
body: <p>I'm trying to migrate a test smart contract and when I type the command I'm getting a &quot;ReferenceError: Migrations is not defined&quot; NOTE: The error is for my second file, the first one is migrated without any problem. Here's a screenshot of the full error message:</p>
  <p><a href="https://i.stack.imgur.com/UC30X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UC30X.png" alt="CMD ERROR" /></a></p>
  <p>Files in use:</p>
  <p><a href="https://i.stack.imgur.com/0JiMJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0JiMJ.png" alt="files" /></a></p>
  <p>I'll leave the code of each file below:</p>
  <p>Ethswap.sol:</p>
  <pre><code>pragma solidity ^0.5.0;
  
  contract EthSwap {
    string public name = &quot;EthSwap Instant Exchange&quot;;
  }
  </code></pre>
  <p>2_deploy_contracts.js:</p>
  <pre><code>const EthSwap = artifacts.require(&quot;EthSwap&quot;);
  
  module.exports = function(deployer) {
    deployer.deploy(Migrations);
  };
  </code></pre>
  <p>1_initial_migration.js:</p>
  <pre><code>const Migrations = artifacts.require(&quot;Migrations&quot;);
  
  module.exports = function(deployer) {
    deployer.deploy(Migrations);
  };
  </code></pre>
  <p>I'd deeply appreciate a solution!</p>