All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sql.migration.V20150520222336__CreateGroupsBots.sql Maven / Gradle / Ivy

CREATE TABLE groups_bots (
  group_id int NOT NULL,
  user_id int NOT NULL,
  token varchar(64) NOT NULL,
  PRIMARY KEY (group_id, user_id)
);
CREATE UNIQUE INDEX bot_token_idx ON groups_bots (token);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy