S
S
Sergey Beloventsev2017-09-29 11:13:36
Yii
Sergey Beloventsev, 2017-09-29 11:13:36

How to set PostgreSQL sequence in Yii2 migrations?

I tried to google or find in the documentation for some reason I did not find it. Can you suggest any recipes? Just a SQL command?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Decadal, 2017-09-29
@Sergalas

in the migration class:
yes, why not? This is a feature of pg. Well, you won’t do them, for example, in mysql - which means that yii developers don’t need to make a method of the Migration class out of them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question