Add migration to add full_name column to accounts table
This commit is contained in:
parent
6621bf3d7e
commit
8bf2b8a275
1 changed files with 10 additions and 0 deletions
10
database/migrations/2_add_account_names.sql
Normal file
10
database/migrations/2_add_account_names.sql
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
BEGIN;
|
||||||
|
|
||||||
|
ALTER TABLE accounts.users
|
||||||
|
ADD COLUMN full_name TEXT;
|
||||||
|
|
||||||
|
UPDATE metadata
|
||||||
|
SET value = '2'
|
||||||
|
WHERE property = "latest_migration";
|
||||||
|
|
||||||
|
COMMIT;
|
Reference in a new issue