You've already forked reloading-manager
No changes made
This commit is contained in:
11
backend/migrations/000003_create_primers_table.up.sql
Normal file
11
backend/migrations/000003_create_primers_table.up.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
create table primers
|
||||
(
|
||||
id uuid primary key default gen_random_uuid(),
|
||||
name varchar(255) not null,
|
||||
meta json,
|
||||
photo bytea,
|
||||
manufacturer_id uuid not null,
|
||||
created_at timestamp default NOW() not null,
|
||||
constraint primers_manufacturers_id_fk
|
||||
foreign key (manufacturer_id) references manufacturers (id)
|
||||
);
|
||||
Reference in New Issue
Block a user