Skip to content

Instantly share code, notes, and snippets.

@favrik
Created December 25, 2014 21:41
Show Gist options
  • Save favrik/b34637a19d91b56285c9 to your computer and use it in GitHub Desktop.
Save favrik/b34637a19d91b56285c9 to your computer and use it in GitHub Desktop.
Table "public.payments"
Column | Type | Modifiers
----------------+-----------------------------+-------------------------------------------------------
id | integer | not null default nextval('payments_id_seq'::regclass)
credit_card_id | integer | not null default 0
order_id | integer | not null default 0
amount | double precision | not null default 0::double precision
created_at | timestamp without time zone | not null
updated_at | timestamp without time zone | not null
authorization | character varying(510) | default NULL::character varying
Indexes:
"payments_pkey" PRIMARY KEY, btree (id)
"credit_card_id" btree (credit_card_id)
"purchase_order_id_1" btree (order_id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment