16 lines
610 B
SQL
16 lines
610 B
SQL
-- Add up migration script here
|
|
CREATE TABLE
|
|
`wishlist_items` (
|
|
`id` integer not null primary key autoincrement,
|
|
`created_at` INTEGER not null default CURRENT_TIMESTAMP,
|
|
`created_by` ineger null,
|
|
`updated_at` INTEGER null default CURRENT_TIMESTAMP,
|
|
`updated_by` integer null,
|
|
`user_id` INTEGER null,
|
|
`item` varchar(255) null,
|
|
`item_url` varchar(255) null,
|
|
`purchased_by` INTEGER null,
|
|
unique (`id`)
|
|
);
|
|
|
|
insert into `role_permissions` (`created_at`, `created_by`, `id`, `item`, `role_id`, `updated_at`, `updated_by`) values ('0', '0', '9', '/wishlist', '2', '0', '0') |