-- ----------------------------
-- Sequence structure for recharge_id_seq
-- ----------------------------
DROP SEQUENCE IF EXISTS "public"."recharge_id_seq";
CREATE SEQUENCE "public"."recharge_id_seq"
INCREMENT 1
MINVALUE  1
MAXVALUE 2147483647
START 1
CACHE 1;
ALTER SEQUENCE "public"."recharge_id_seq" OWNER TO "postgres";


-- ----------------------------
-- Table structure for recharge
-- ----------------------------
DROP TABLE IF EXISTS "public"."recharge";
CREATE TABLE "public"."recharge" (
  "id" int4 NOT NULL DEFAULT nextval('recharge_id_seq'::regclass),
  "app_recharges_id" uuid NOT NULL,
  "mac" varchar(20) COLLATE "pg_catalog"."default" NOT NULL
)
;
ALTER TABLE "public"."recharge" OWNER TO "postgres";

-- ----------------------------
-- Records of recharge
-- ----------------------------
BEGIN;
INSERT INTO "public"."recharge" VALUES (1, '8454b760-bb4b-4eaf-9f53-68c28146e9fa', '01020303AABC');
COMMIT;

-- ----------------------------
-- Alter sequences owned by
-- ----------------------------
ALTER SEQUENCE "public"."recharge_id_seq"
OWNED BY "public"."recharge"."id";
SELECT setval('"public"."recharge_id_seq"', 2, true);

-- ----------------------------
-- Primary Key structure for table recharge
-- ----------------------------
ALTER TABLE "public"."recharge" ADD CONSTRAINT "recharge_pkey" PRIMARY KEY ("id");

