mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
16 lines
387 B
Ruby
16 lines
387 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreatePayments < ActiveRecord::Migration
|
|
def change
|
|
create_table :payments do |t|
|
|
t.string :last4
|
|
t.integer :amount
|
|
t.string :authorization_code
|
|
t.integer :status, default: 0, null: false
|
|
t.integer :user_id, null: false
|
|
t.integer :conference_id, null: false
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|