forked from ebhomengo/niki
11 lines
437 B
SQL
11 lines
437 B
SQL
-- +migrate Up
|
|
CREATE TABLE `provinces` (
|
|
`id` INT PRIMARY KEY AUTO_INCREMENT,
|
|
`name` VARCHAR(191) NOT NULL,
|
|
|
|
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
`updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
|
);
|
|
|
|
-- +migrate Down
|
|
DROP TABLE `provinces`; |