14 lines
303 B
MySQL
14 lines
303 B
MySQL
|
-- +goose Up
|
||
|
-- +goose StatementBegin
|
||
|
CREATE TABLE IF NOT EXISTS StorageArea (
|
||
|
Id INT AUTO_INCREMENT PRIMARY KEY,
|
||
|
Name VARCHAR(100) NOT NULL,
|
||
|
StorageType ENUM('Binder', 'Box')
|
||
|
);
|
||
|
-- +goose StatementEnd
|
||
|
|
||
|
-- +goose Down
|
||
|
-- +goose StatementBegin
|
||
|
DROP TABLE IF EXISTS StorageArea;
|
||
|
-- +goose StatementEnd
|