Skip to content

Commit 0f5b4e9

Browse files
committed
update animatecss
1 parent 1dfe992 commit 0f5b4e9

29 files changed

Lines changed: 2205 additions & 2246 deletions

database/migrations/2026_05_09_000001_create_animations_table.php

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ public function up(): void
1616

1717
$table->string('name')->unique();
1818
$table->string('title')->nullable();
19+
$table->string('type')->default('registry:style');
1920
$table->text('description')->nullable();
20-
$table->string('author')->nullable();
21+
$table->string('author')->default('designbycode')->nullable();
2122

2223
$table->json('meta')->nullable();
2324
$table->json('css_vars')->nullable();
@@ -30,17 +31,6 @@ public function up(): void
3031
$table->index('created_at');
3132
});
3233

33-
DB::statement("
34-
INSERT INTO animates (user_id, name, title, description, author, meta, css_vars, css, registryDependencies, created_at, updated_at)
35-
SELECT user_id, name, title, description, author, meta, vars_theme, css, registryDependencies, created_at, updated_at
36-
FROM registries
37-
WHERE type = 'registry:style' AND JSON_UNQUOTE(JSON_EXTRACT(meta, '$.category')) = 'animations'
38-
");
39-
40-
DB::table('registries')
41-
->where('type', 'registry:style')
42-
->whereRaw("JSON_UNQUOTE(JSON_EXTRACT(meta, '$.category')) = 'animations'")
43-
->delete();
4434
}
4535

4636
public function down(): void

database/seeders/AnimateSeeder.php

Lines changed: 2110 additions & 715 deletions
Large diffs are not rendered by default.

public/build/assets/animate-css-CL5Zz_rX.js renamed to public/build/assets/animate-css-BY0sMSFk.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/assets/app-D5zHRhQS.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/assets/app-lK-pD9of.css

Lines changed: 0 additions & 2 deletions
This file was deleted.

public/build/assets/appearance-CS7WzM2V.js renamed to public/build/assets/appearance-DvKoNGKa.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/assets/confirm-password-Cc66SSgO.js renamed to public/build/assets/confirm-password-hG6nLzy1.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/assets/forgot-password-CwXhhg1R.js renamed to public/build/assets/forgot-password-B6M5QfBv.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)