fix migration files

This commit is contained in:
Tanmay Sharma
2025-10-09 08:32:13 +02:00
parent 216a2c0e73
commit 59f60936a7
3 changed files with 17 additions and 28 deletions
@@ -1,7 +1,7 @@
class CreateCreditTransactions < ActiveRecord::Migration[7.0]
def change
create_table :credit_transactions do |t|
t.references :account, null: false, foreign_key: true
t.references :account, null: false
t.string :transaction_type, null: false
t.integer :amount, null: false
t.string :credit_type, null: false