diff --git a/lib/generators/plutus/templates/tenant_migration.rb b/lib/generators/plutus/templates/tenant_migration.rb
index <HASH>..<HASH> 100644
--- a/lib/generators/plutus/templates/tenant_migration.rb
+++ b/lib/generators/plutus/templates/tenant_migration.rb
@@ -1,6 +1,6 @@
 class TenantPlutusTables < ActiveRecord::Migration
   def change
     # add a tenant column to plutus accounts table.
-    add_column :plutus_accounts, :tenant_id, :string, index: true
+    add_column :plutus_accounts, :tenant_id, :integer, index: true
   end
 end
[#issue-<I>] tenant_id should be of type integer, and not string

(got used to rails add_reference, can't help it)