spec/internal/db/schema.rb in bankserv-0.1.7 vs spec/internal/db/schema.rb in bankserv-0.1.8

- old
+ new

@@ -25,10 +25,12 @@ t.integer :user_generation_number t.string :department_code t.string :internal_branch_code t.boolean :live_env, :default => false t.timestamps + t.integer :eft_sequence_number + t.datetime :eft_sequence_number_updated_at end create_table :bankserv_requests, :force => true do |t| t.string :type t.text :data @@ -60,11 +62,11 @@ t.timestamps end create_table :bankserv_debits, :force => true do |t| t.string :record_type - t.decimal :amount, :precision => 10, :scale => 2 + t.integer :amount t.string :action_date t.references :bankserv_bank_account t.references :bankserv_request t.integer :batch_id t.string :status, :default => "new" @@ -74,11 +76,11 @@ t.timestamps end create_table :bankserv_credits, :force => true do |t| t.string :record_type - t.decimal :amount, :precision => 10, :scale => 2 + t.integer :amount t.string :action_date t.references :bankserv_bank_account t.references :bankserv_request t.integer :batch_id t.string :status, :default => "new" @@ -130,9 +132,7 @@ t.text :response t.timestamps t.datetime :completed_at end - - Bankserv::EngineConfiguration.create!(interval_in_minutes: 15, input_directory: "/tmp", output_directory: "/tmp", archive_directory: "/tmp") end \ No newline at end of file