fix migration files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user