__DATA__
create table brewery (
- id int not null auto_increment primary key,
+ id int auto_increment primary key,
name varchar(30),
url varchar(50),
notes text
);
create table beer (
- id int not null auto_increment primary key,
+ id int auto_increment primary key,
brewery integer,
style integer,
name varchar(30),
);
create table handpump (
- id int not null auto_increment primary key,
+ id int auto_increment primary key,
beer integer,
pub integer
);
create table pub (
- id int not null auto_increment primary key,
+ id int auto_increment primary key,
name varchar(60),
url varchar(120),
notes text
);
create table style (
- id int not null auto_increment primary key,
+ id int auto_increment primary key,
name varchar(60),
notes text
);