Commit ba5453c3 authored by Manfred Kutas's avatar Manfred Kutas

ZP-230 Deleted unnecessary mysql folder and mysql.sql file.

Released under the Affero GNU General Public License (AGPL) version 3.
parent ce692619
create table zpush_settings (key_name varchar(50) not null, key_value varchar(50) not null, created_at datetime not null, updated_at datetime not null, primary key (key_name));
create table zpush_users (username varchar(50) not null, device_id varchar(50) not null, created_at datetime not null, updated_at datetime not null, primary key (username, device_id));
create table zpush_states (id_state integer auto_increment, device_id varchar(50) not null, uuid varchar(50), state_type varchar(50), counter integer, state_data mediumblob,
created_at datetime not null, updated_at datetime not null, primary key (id_state));
create unique index idx_zpush_states_unique on zpush_states (device_id, uuid, state_type, counter);
-- This is optional, and will require extra configuration in your mysql
-- http://www.mysqlperformanceblog.com/2012/05/30/data-compression-in-innodb-for-text-and-blob-fields/
alter table zpush_states engine=InnoDB row_format=compressed key_block_size=16;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment