RubyGems
npm
Organizations
Log in
Sign up
npm
@hedhog/admin
Versions diffs
0.0.49 → 0.0.50
@hedhog/admin 0.0.49 → 0.0.50
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
package/package.json
+1
-1
package/src/migrations/migrate-05.ts
+1
-0
package/src/migrations/migrate-19.ts
+1
-0
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@hedhog/admin",
3
-
"version": "0.0.
49
",
3
+
"version": "0.0.
50
",
4
4
"private": false,
5
5
"main": "dist/index.js",
6
6
"scripts": {
package/src/migrations/migrate-05.ts
CHANGED
Viewed
@@ -17,6 +17,7 @@ export class Migrate implements MigrationInterface {
17
17
{
18
18
name: 'slug',
19
19
type: 'varchar',
20
+
isUnique: true,
20
21
},
21
22
{
22
23
name: 'url',
package/src/migrations/migrate-19.ts
CHANGED
Viewed
@@ -17,6 +17,7 @@ export class Migrate implements MigrationInterface {
17
17
name: 'slug',
18
18
type: 'varchar',
19
19
length: '63',
20
+
isUnique: true,
20
21
},
21
22
timestampColumn(),
22
23
timestampColumn('updated_at'),