Commits

jbe  committed 3fbf9e1

Bugfix: Corrected table for index "delegating_voter_member_id_idx"
Version change to 1.0.3

  • Participants
  • Parent commits 5aee2ba
  • Tags v1.0.3

Comments (0)

Files changed (2)

 BEGIN;
 
 CREATE VIEW "liquid_feedback_version" AS
-  SELECT * FROM (VALUES ('1.0.2', 1, 0, 2))
+  SELECT * FROM (VALUES ('1.0.3', 1, 0, 3))
   AS "subquery"("string", "major", "minor", "revision");
 
 
         "weight"                INT4,
         "scope"              "delegation_scope" NOT NULL,
         "delegate_member_ids"   INT4[]          NOT NULL );
-CREATE INDEX "delegating_voter_member_id_idx" ON "direct_voter" ("member_id");
+CREATE INDEX "delegating_voter_member_id_idx" ON "delegating_voter" ("member_id");
 
 COMMENT ON TABLE "delegating_voter" IS 'Delegations increasing the weight of entries in the "direct_voter" table';
 

File update/core-update.v1.0.2-v1.0.3.sql

+BEGIN;
+
+CREATE OR REPLACE VIEW "liquid_feedback_version" AS
+  SELECT * FROM (VALUES ('1.0.3', 1, 0, 3))
+  AS "subquery"("string", "major", "minor", "revision");
+
+DROP INDEX "delegating_voter_member_id_idx";
+CREATE INDEX "delegating_voter_member_id_idx" ON "delegating_voter" ("member_id");
+
+COMMIT;