__DATA__
create table brewery (
- id int auto_increment primary key,
+ id integer auto_increment primary key,
name varchar(30),
url varchar(50),
notes text
);
create table beer (
- id int auto_increment primary key,
- brewery integer,
- style integer,
+ id integer auto_increment primary key,
+ brewery integereger,
+ style integereger,
name varchar(30),
url varchar(120),
# tasted date,
- score integer(2),
+ score integereger(2),
price varchar(12),
abv varchar(10),
notes text
);
create table handpump (
- id int auto_increment primary key,
- beer integer,
- pub integer
+ id integer auto_increment primary key,
+ beer integereger,
+ pub integereger
);
create table pub (
- id int auto_increment primary key,
+ id integer auto_increment primary key,
name varchar(60),
url varchar(120),
notes text
);
create table style (
- id int auto_increment primary key,
+ id integer auto_increment primary key,
name varchar(60),
notes text
);