Nonverbis

Untitled

Dec 2nd, 2020
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. create table posts_post (
  2. id int4 generated by default as identity,
  3. created timestamp not null,
  4. slug varchar(255) not null,
  5. text TEXT not null,
  6. updated timestamp not null,
  7. author_id int4 not null,
  8. category_id int4 not null,
  9. primary key (id)
  10. )
  11. Hibernate: create index author_nickname on authors_author (nickname)
  12. Hibernate: create index author_slug on authors_author (slug)
  13. Hibernate:
  14.  
  15. alter table if exists authors_author
  16. add co
Advertisement
Add Comment
Please, Sign In to add comment