mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
updating fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5573 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
f2e5dcbbf9
commit
3a5f89f3e2
25 changed files with 25 additions and 25 deletions
2
cake/tests/fixtures/aco_fixture.php
vendored
2
cake/tests/fixtures/aco_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class AcoFixture extends CakeTestFixture {
|
class AcoFixture extends CakeTestFixture {
|
||||||
var $name = 'Aco';
|
var $name = 'Aco';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||||
'model' => array('type' => 'string', 'default' => ''),
|
'model' => array('type' => 'string', 'default' => ''),
|
||||||
'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
class AdvertisementFixture extends CakeTestFixture {
|
class AdvertisementFixture extends CakeTestFixture {
|
||||||
var $name = 'Advertisement';
|
var $name = 'Advertisement';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'title' => array('type' => 'string', 'null' => false),
|
'title' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
'updated' => 'datetime'
|
'updated' => 'datetime'
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
class AnotherArticleFixture extends CakeTestFixture {
|
class AnotherArticleFixture extends CakeTestFixture {
|
||||||
var $name = 'AnotherArticle';
|
var $name = 'AnotherArticle';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'title' => array('type' => 'string', 'null' => false),
|
'title' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
'updated' => 'datetime'
|
'updated' => 'datetime'
|
||||||
|
|
2
cake/tests/fixtures/apple_fixture.php
vendored
2
cake/tests/fixtures/apple_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class AppleFixture extends CakeTestFixture {
|
class AppleFixture extends CakeTestFixture {
|
||||||
var $name = 'Apple';
|
var $name = 'Apple';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'apple_id' => array('type' => 'integer', 'null' => true),
|
'apple_id' => array('type' => 'integer', 'null' => true),
|
||||||
'color' => array('type' => 'string', 'length' => 40, 'null' => false),
|
'color' => array('type' => 'string', 'length' => 40, 'null' => false),
|
||||||
'name' => array('type' => 'string', 'length' => 40, 'null' => false),
|
'name' => array('type' => 'string', 'length' => 40, 'null' => false),
|
||||||
|
|
2
cake/tests/fixtures/aro_fixture.php
vendored
2
cake/tests/fixtures/aro_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class AroFixture extends CakeTestFixture {
|
class AroFixture extends CakeTestFixture {
|
||||||
var $name = 'Aro';
|
var $name = 'Aro';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
'parent_id' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||||
'model' => array('type' => 'string', 'default' => ''),
|
'model' => array('type' => 'string', 'default' => ''),
|
||||||
'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
'foreign_key' => array('type' => 'integer', 'length' => 10, 'null' => true),
|
||||||
|
|
2
cake/tests/fixtures/aros_aco_fixture.php
vendored
2
cake/tests/fixtures/aros_aco_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class ArosAcoFixture extends CakeTestFixture {
|
class ArosAcoFixture extends CakeTestFixture {
|
||||||
var $name = 'ArosAco';
|
var $name = 'ArosAco';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'aro_id' => array('type' => 'integer', 'length' => 10, 'null' => false),
|
'aro_id' => array('type' => 'integer', 'length' => 10, 'null' => false),
|
||||||
'aco_id' => array('type' => 'integer', 'length' => 10, 'null' => false),
|
'aco_id' => array('type' => 'integer', 'length' => 10, 'null' => false),
|
||||||
'_create' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'),
|
'_create' => array('type' => 'string', 'length' => 2, 'null' => false, 'default' => '0'),
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
class ArticleFeaturedFixture extends CakeTestFixture {
|
class ArticleFeaturedFixture extends CakeTestFixture {
|
||||||
var $name = 'ArticleFeatured';
|
var $name = 'ArticleFeatured';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'user_id' => array('type' => 'integer', 'null' => false),
|
'user_id' => array('type' => 'integer', 'null' => false),
|
||||||
'title' => array('type' => 'string', 'null' => false),
|
'title' => array('type' => 'string', 'null' => false),
|
||||||
'body' => 'text',
|
'body' => 'text',
|
||||||
|
|
2
cake/tests/fixtures/article_fixture.php
vendored
2
cake/tests/fixtures/article_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class ArticleFixture extends CakeTestFixture {
|
class ArticleFixture extends CakeTestFixture {
|
||||||
var $name = 'Article';
|
var $name = 'Article';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'user_id' => array('type' => 'integer', 'null' => false),
|
'user_id' => array('type' => 'integer', 'null' => false),
|
||||||
'title' => array('type' => 'string', 'null' => false),
|
'title' => array('type' => 'string', 'null' => false),
|
||||||
'body' => 'text',
|
'body' => 'text',
|
||||||
|
|
2
cake/tests/fixtures/attachment_fixture.php
vendored
2
cake/tests/fixtures/attachment_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class AttachmentFixture extends CakeTestFixture {
|
class AttachmentFixture extends CakeTestFixture {
|
||||||
var $name = 'Attachment';
|
var $name = 'Attachment';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'comment_id' => array('type' => 'integer', 'null' => false),
|
'comment_id' => array('type' => 'integer', 'null' => false),
|
||||||
'attachment' => array('type' => 'string', 'null' => false),
|
'attachment' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
|
|
2
cake/tests/fixtures/auth_user_fixture.php
vendored
2
cake/tests/fixtures/auth_user_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class AuthUserFixture extends CakeTestFixture {
|
class AuthUserFixture extends CakeTestFixture {
|
||||||
var $name = 'AuthUser';
|
var $name = 'AuthUser';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'username' => array('type' => 'string', 'null' => false),
|
'username' => array('type' => 'string', 'null' => false),
|
||||||
'password' => array('type' => 'string', 'null' => false),
|
'password' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
|
|
2
cake/tests/fixtures/author_fixture.php
vendored
2
cake/tests/fixtures/author_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class AuthorFixture extends CakeTestFixture {
|
class AuthorFixture extends CakeTestFixture {
|
||||||
var $name = 'Author';
|
var $name = 'Author';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'user' => array('type' => 'string', 'null' => false),
|
'user' => array('type' => 'string', 'null' => false),
|
||||||
'password' => array('type' => 'string', 'null' => false),
|
'password' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
|
|
2
cake/tests/fixtures/bid_fixture.php
vendored
2
cake/tests/fixtures/bid_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class BidFixture extends CakeTestFixture {
|
class BidFixture extends CakeTestFixture {
|
||||||
var $name = 'Bid';
|
var $name = 'Bid';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'message_id' => array('type' => 'integer', 'null' => false),
|
'message_id' => array('type' => 'integer', 'null' => false),
|
||||||
'name' => array('type' => 'string', 'null' => false)
|
'name' => array('type' => 'string', 'null' => false)
|
||||||
);
|
);
|
||||||
|
|
2
cake/tests/fixtures/category_fixture.php
vendored
2
cake/tests/fixtures/category_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class CategoryFixture extends CakeTestFixture {
|
class CategoryFixture extends CakeTestFixture {
|
||||||
var $name = 'Category';
|
var $name = 'Category';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'parent_id' => array('type' => 'integer', 'null' => false),
|
'parent_id' => array('type' => 'integer', 'null' => false),
|
||||||
'name' => array('type' => 'string', 'null' => false),
|
'name' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
class CategoryThreadFixture extends CakeTestFixture {
|
class CategoryThreadFixture extends CakeTestFixture {
|
||||||
var $name = 'CategoryThread';
|
var $name = 'CategoryThread';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'parent_id' => array('type' => 'integer', 'null' => false),
|
'parent_id' => array('type' => 'integer', 'null' => false),
|
||||||
'name' => array('type' => 'string', 'null' => false),
|
'name' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
|
|
2
cake/tests/fixtures/comment_fixture.php
vendored
2
cake/tests/fixtures/comment_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class CommentFixture extends CakeTestFixture {
|
class CommentFixture extends CakeTestFixture {
|
||||||
var $name = 'Comment';
|
var $name = 'Comment';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'article_id' => array('type' => 'integer', 'null'=>false),
|
'article_id' => array('type' => 'integer', 'null'=>false),
|
||||||
'user_id' => array('type' => 'integer', 'null'=>false),
|
'user_id' => array('type' => 'integer', 'null'=>false),
|
||||||
'comment' => 'text',
|
'comment' => 'text',
|
||||||
|
|
2
cake/tests/fixtures/featured_fixture.php
vendored
2
cake/tests/fixtures/featured_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class FeaturedFixture extends CakeTestFixture {
|
class FeaturedFixture extends CakeTestFixture {
|
||||||
var $name = 'Featured';
|
var $name = 'Featured';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'article_featured_id' => array('type' => 'integer', 'null' => false),
|
'article_featured_id' => array('type' => 'integer', 'null' => false),
|
||||||
'category_id' => array('type' => 'integer', 'null' => false),
|
'category_id' => array('type' => 'integer', 'null' => false),
|
||||||
'published_date' => 'datetime',
|
'published_date' => 'datetime',
|
||||||
|
|
2
cake/tests/fixtures/home_fixture.php
vendored
2
cake/tests/fixtures/home_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class HomeFixture extends CakeTestFixture {
|
class HomeFixture extends CakeTestFixture {
|
||||||
var $name = 'Home';
|
var $name = 'Home';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'another_article_id' => array('type' => 'integer', 'null' => false),
|
'another_article_id' => array('type' => 'integer', 'null' => false),
|
||||||
'advertisement_id' => array('type' => 'integer', 'null' => false),
|
'advertisement_id' => array('type' => 'integer', 'null' => false),
|
||||||
'title' => array('type' => 'string', 'null' => false),
|
'title' => array('type' => 'string', 'null' => false),
|
||||||
|
|
2
cake/tests/fixtures/message_fixture.php
vendored
2
cake/tests/fixtures/message_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class MessageFixture extends CakeTestFixture {
|
class MessageFixture extends CakeTestFixture {
|
||||||
var $name = 'Message';
|
var $name = 'Message';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'thread_id' => array('type' => 'integer', 'null' => false),
|
'thread_id' => array('type' => 'integer', 'null' => false),
|
||||||
'name' => array('type' => 'string', 'null' => false)
|
'name' => array('type' => 'string', 'null' => false)
|
||||||
);
|
);
|
||||||
|
|
2
cake/tests/fixtures/number_tree_fixture.php
vendored
2
cake/tests/fixtures/number_tree_fixture.php
vendored
|
@ -37,7 +37,7 @@
|
||||||
class NumberTreeFixture extends CakeTestFixture {
|
class NumberTreeFixture extends CakeTestFixture {
|
||||||
var $name = 'NumberTree';
|
var $name = 'NumberTree';
|
||||||
var $fields = array ( 'id' => array (
|
var $fields = array ( 'id' => array (
|
||||||
'type' => 'integer','key' => 'primary'),
|
'type' => 'integer','key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'name' => array ('type' => 'string','null' => false),
|
'name' => array ('type' => 'string','null' => false),
|
||||||
'parent_id' => 'integer',
|
'parent_id' => 'integer',
|
||||||
'lft' => array ('type' => 'integer','null' => false),
|
'lft' => array ('type' => 'integer','null' => false),
|
||||||
|
|
2
cake/tests/fixtures/post_fixture.php
vendored
2
cake/tests/fixtures/post_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class PostFixture extends CakeTestFixture {
|
class PostFixture extends CakeTestFixture {
|
||||||
var $name = 'Post';
|
var $name = 'Post';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'author_id' => array('type' => 'integer', 'null' => false),
|
'author_id' => array('type' => 'integer', 'null' => false),
|
||||||
'title' => array('type' => 'string', 'null' => false),
|
'title' => array('type' => 'string', 'null' => false),
|
||||||
'body' => 'text',
|
'body' => 'text',
|
||||||
|
|
2
cake/tests/fixtures/project_fixture.php
vendored
2
cake/tests/fixtures/project_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class ProjectFixture extends CakeTestFixture {
|
class ProjectFixture extends CakeTestFixture {
|
||||||
var $name = 'Project';
|
var $name = 'Project';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'name' => array('type' => 'string', 'null' => false)
|
'name' => array('type' => 'string', 'null' => false)
|
||||||
);
|
);
|
||||||
var $records = array(
|
var $records = array(
|
||||||
|
|
2
cake/tests/fixtures/sample_fixture.php
vendored
2
cake/tests/fixtures/sample_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class SampleFixture extends CakeTestFixture {
|
class SampleFixture extends CakeTestFixture {
|
||||||
var $name = 'Sample';
|
var $name = 'Sample';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'apple_id' => array('type' => 'integer', 'null' => false),
|
'apple_id' => array('type' => 'integer', 'null' => false),
|
||||||
'name' => array('type' => 'string', 'length' => 40, 'null' => false)
|
'name' => array('type' => 'string', 'length' => 40, 'null' => false)
|
||||||
);
|
);
|
||||||
|
|
2
cake/tests/fixtures/tag_fixture.php
vendored
2
cake/tests/fixtures/tag_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class TagFixture extends CakeTestFixture {
|
class TagFixture extends CakeTestFixture {
|
||||||
var $name = 'Tag';
|
var $name = 'Tag';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'tag' => array('type' => 'string', 'null' => false),
|
'tag' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
'updated' => 'datetime'
|
'updated' => 'datetime'
|
||||||
|
|
2
cake/tests/fixtures/thread_fixture.php
vendored
2
cake/tests/fixtures/thread_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class ThreadFixture extends CakeTestFixture {
|
class ThreadFixture extends CakeTestFixture {
|
||||||
var $name = 'Thread';
|
var $name = 'Thread';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'project_id' => array('type' => 'integer', 'null' => false),
|
'project_id' => array('type' => 'integer', 'null' => false),
|
||||||
'name' => array('type' => 'string', 'null' => false)
|
'name' => array('type' => 'string', 'null' => false)
|
||||||
);
|
);
|
||||||
|
|
2
cake/tests/fixtures/user_fixture.php
vendored
2
cake/tests/fixtures/user_fixture.php
vendored
|
@ -35,7 +35,7 @@
|
||||||
class UserFixture extends CakeTestFixture {
|
class UserFixture extends CakeTestFixture {
|
||||||
var $name = 'User';
|
var $name = 'User';
|
||||||
var $fields = array(
|
var $fields = array(
|
||||||
'id' => array('type' => 'integer', 'key' => 'primary'),
|
'id' => array('type' => 'integer', 'key' => 'primary', 'extra'=> 'auto_increment'),
|
||||||
'user' => array('type' => 'string', 'null' => false),
|
'user' => array('type' => 'string', 'null' => false),
|
||||||
'password' => array('type' => 'string', 'null' => false),
|
'password' => array('type' => 'string', 'null' => false),
|
||||||
'created' => 'datetime',
|
'created' => 'datetime',
|
||||||
|
|
Loading…
Add table
Reference in a new issue